corda
Module Contents
alltypes
Module Contents
abstract class AbstractCashFlow < out T > : FlowLogic < T >
abstract class AbstractCashSelection
Module Contents
AbstractCashSelection ( maxRetries : Int = 8, retrySleep : Int = 100, retryCap : Int = 2000)
protected abstract fun executeQuery ( connection : Connection , amount : Amount < Currency > , lockId : UUID , notary : Party ? , onlyFromIssuerParties : Set < AbstractParty > , withIssuerRefs : Set < OpaqueBytes > , withResultSet : ( ResultSet ) -> Boolean ) : Boolean
fun getInstance ( metadata : ( ) -> DatabaseMetaData ) : AbstractCashSelection
val instance : AtomicReference < AbstractCashSelection >
protected abstract fun isCompatible ( metadata : DatabaseMetaData ) : Boolean
abstract fun toString ( ) : String
fun unconsumedCashStatesForSpending ( services : ServiceHub , amount : Amount < Currency > , onlyFromIssuerParties : Set < AbstractParty > = emptySet(), notary : Party ? = null, lockId : UUID , withIssuerRefs : Set < OpaqueBytes > = emptySet()) : List < StateAndRef < State > >
@DoNotImplement abstract class AbstractParty : Destination
abstract class AbstractStateReplacementFlow
enum class AccrualAdjustment
data class Actor
enum class AggregateFunctionType
interface AllPossibleRecipients : MessageRecipients
object AlwaysAcceptAttachmentConstraint : AttachmentConstraint
data class Amount < T : Any > : Comparable < Amount < T > >
class AmountTransfer < T : Any , P : Any >
Module Contents
AmountTransfer ( quantityDelta : Long , token : T , source : P , destination : P )
fun apply ( balances : List < SourceAndAmount < T , P > > , newRef : Any ? = null) : List < SourceAndAmount < T , P > >
val destination : P
fun equals ( other : Any ? ) : Boolean
fun < T : Any , P : Any > fromDecimal ( displayQuantityDelta : BigDecimal , token : T , source : P , destination : P , rounding : RoundingMode = RoundingMode.DOWN) : AmountTransfer < T , P >
fun hashCode ( ) : Int
fun novate ( centralParty : P ) : List < AmountTransfer < T , P > >
operator fun plus ( other : AmountTransfer < T , P > ) : AmountTransfer < T , P >
val quantityDelta : Long
val source : P
fun toDecimal ( ) : BigDecimal
val token : T
fun < T : Any , P : Any > zero ( token : T , source : P , destination : P ) : AmountTransfer < T , P >
class AnonymousParty : Destination , AbstractParty
interface AppServiceHub : ServiceHub
@DoNotImplement interface Attachment : NamedByHash
@DoNotImplement interface AttachmentConstraint
typealias AttachmentFixup = <ERROR CLASS> < Set < AttachmentId > , Set < AttachmentId > >
typealias AttachmentId = SecureHash
sealed class AttachmentQueryCriteria : GenericQueryCriteria < AttachmentQueryCriteria , AttachmentsQueryCriteriaParser > , ChainableQueryCriteria < AttachmentQueryCriteria , AttachmentsQueryCriteriaParser >
Module Contents
class AndComposition : AttachmentQueryCriteria , AndVisitor < AttachmentQueryCriteria , AttachmentsQueryCriteriaParser , AttachmentSort >
data class AttachmentsQueryCriteria : AttachmentQueryCriteria
Module Contents
AttachmentsQueryCriteria ( uploaderCondition : ColumnPredicate < String > ? = null, filenameCondition : ColumnPredicate < String > ? = null, uploadDateCondition : ColumnPredicate < Instant > ? = null)
AttachmentsQueryCriteria ( uploaderCondition : ColumnPredicate < String > ? )
AttachmentsQueryCriteria ( uploaderCondition : ColumnPredicate < String > ? , filenameCondition : ColumnPredicate < String > ? )
AttachmentsQueryCriteria ( uploaderCondition : ColumnPredicate < String > ? = null, filenameCondition : ColumnPredicate < String > ? = null, uploadDateCondition : ColumnPredicate < Instant > ? = null, contractClassNamesCondition : ColumnPredicate < List < ContractClassName > > ? = null, signersCondition : ColumnPredicate < List < PublicKey > > ? = null, isSignedCondition : ColumnPredicate < Boolean > ? = null, versionCondition : ColumnPredicate < Int > ? = null)
val contractClassNamesCondition : ColumnPredicate < List < ContractClassName > > ?
fun copy ( uploaderCondition : ColumnPredicate < String > ? = this.uploaderCondition, filenameCondition : ColumnPredicate < String > ? = this.filenameCondition, uploadDateCondition : ColumnPredicate < Instant > ? = this.uploadDateCondition) : AttachmentsQueryCriteria
val filenameCondition : ColumnPredicate < String > ?
fun isSigned ( isSignedPredicate : ColumnPredicate < Boolean > ) : AttachmentsQueryCriteria
val isSignedCondition : ColumnPredicate < Boolean > ?
val signersCondition : ColumnPredicate < List < PublicKey > > ?
val uploadDateCondition : ColumnPredicate < Instant > ?
val uploaderCondition : ColumnPredicate < String > ?
val versionCondition : ColumnPredicate < Int > ?
fun visit ( parser : AttachmentsQueryCriteriaParser ) : Collection < <ERROR CLASS> >
fun withContractClassNames ( contractClassNamesPredicate : ColumnPredicate < List < ContractClassName > > ) : AttachmentsQueryCriteria
fun withFilename ( filenamePredicate : ColumnPredicate < String > ) : AttachmentsQueryCriteria
fun withSigners ( signersPredicate : ColumnPredicate < List < PublicKey > > ) : AttachmentsQueryCriteria
fun withUploadDate ( uploadDatePredicate : ColumnPredicate < Instant > ) : AttachmentsQueryCriteria
fun withUploader ( uploaderPredicate : ColumnPredicate < String > ) : AttachmentsQueryCriteria
fun withVersion ( versionPredicate : ColumnPredicate < Int > ) : AttachmentsQueryCriteria
class OrComposition : AttachmentQueryCriteria , OrVisitor < AttachmentQueryCriteria , AttachmentsQueryCriteriaParser , AttachmentSort >
open fun and ( criteria : AttachmentQueryCriteria ) : AttachmentQueryCriteria
open fun or ( criteria : AttachmentQueryCriteria ) : AttachmentQueryCriteria
class AttachmentResolutionException : FlowException
class AttachmentResolutionException : FlowException
data class AttachmentSort : BaseSort
@DoNotImplement interface AttachmentStorage
interface AttachmentsQueryCriteriaParser : BaseQueryCriteriaParser < AttachmentQueryCriteria , AttachmentsQueryCriteriaParser , AttachmentSort >
data class AuthServiceId
@Target ( [AnnotationTarget.PROPERTY]) annotation class AutoAcceptable
object AutomaticHashConstraint : AttachmentConstraint
object AutomaticPlaceholderConstraint : AttachmentConstraint
interface BaseQueryCriteriaParser < Q : GenericQueryCriteria < Q , P > , in P : BaseQueryCriteriaParser < Q , P , S > , in S : BaseSort >
abstract class BaseSort
@DoNotImplement abstract class BaseTransaction : NamedByHash
@Target ( [AnnotationTarget.CLASS]) annotation class BelongsToContract
data class BilateralNetState < P : Any > : NetState < P >
interface BilateralNettableState < N : BilateralNettableState < N > >
enum class BinaryComparisonOperator : Operator
enum class BinaryLogicalOperator : Operator
class BrokenAttachmentException : FlowException
object Builder
Module Contents
fun < O , R > KProperty1 < O , R ? > . avg ( groupByColumns : List < KProperty1 < O , R > > ? = null, orderBy : Direction ? = null) : AggregateFunctionExpression < O , R >
fun < R > Field . avg ( groupByColumns : List < Field > ? = null, orderBy : Direction ? = null) : <ERROR CLASS>
fun < R > FieldInfo . avg ( groupByColumns : List < FieldInfo > ? = null, orderBy : Direction ? = null) : <ERROR CLASS>
fun < O , R : Comparable < R > > KProperty1 < O , R ? > . between ( from : R , to : R ) : ColumnPredicateExpression < O , R >
fun < R : Comparable < R > > Field . between ( from : R , to : R ) : ColumnPredicateExpression < Any , R >
fun < R : Comparable < R > > FieldInfo . between ( from : R , to : R ) : ColumnPredicateExpression < Any , R >
fun < R : Comparable < R > > between ( from : R , to : R ) : Between < R >
fun < R : Comparable < R > > compare ( operator : BinaryComparisonOperator , value : R ) : BinaryComparison < R >
fun < O , R : Comparable < R > > KProperty1 < O , R ? > . comparePredicate ( operator : BinaryComparisonOperator , value : R ) : ColumnPredicateExpression < O , R >
fun < R : Comparable < R > > Field . comparePredicate ( operator : BinaryComparisonOperator , value : R ) : ColumnPredicateExpression < Any , R >
fun < R : Comparable < R > > FieldInfo . comparePredicate ( operator : BinaryComparisonOperator , value : R ) : ColumnPredicateExpression < Any , R >
fun < O , R > KProperty1 < O , R ? > . count ( ) : AggregateFunctionExpression < O , R >
fun Field . count ( ) : AggregateFunctionExpression < Any , Any >
fun FieldInfo . count ( ) : AggregateFunctionExpression < Any , Any >
fun < O , R > KProperty1 < O , R ? > . equal ( value : R , exactMatch : Boolean = true) : ColumnPredicateExpression < O , R >
fun < R > Field . equal ( value : R , exactMatch : Boolean = true) : ColumnPredicateExpression < Any , R >
fun < R > FieldInfo . equal ( value : R , exactMatch : Boolean = true) : ColumnPredicateExpression < Any , R >
fun < R > equal ( value : R , exactMatch : Boolean = true) : EqualityComparison < R >
fun < O , R > KProperty1 < O , R ? > . functionPredicate ( predicate : ColumnPredicate < R > , groupByColumns : List < Column < O , R > > ? = null, orderBy : Direction ? = null) : AggregateFunctionExpression < O , R >
fun < R > Field . functionPredicate ( predicate : ColumnPredicate < R > , groupByColumns : List < Column < Any , R > > ? = null, orderBy : Direction ? = null) : AggregateFunctionExpression < Any , R >
fun < R > FieldInfo . functionPredicate ( predicate : ColumnPredicate < R > , groupByColumns : List < Column < Any , R > > ? = null, orderBy : Direction ? = null) : AggregateFunctionExpression < Any , R >
fun < O , R : Comparable < R > > KProperty1 < O , R ? > . greaterThan ( value : R ) : ColumnPredicateExpression < O , R >
fun < R : Comparable < R > > Field . greaterThan ( value : R ) : ColumnPredicateExpression < Any , R >
fun < R : Comparable < R > > FieldInfo . greaterThan ( value : R ) : ColumnPredicateExpression < Any , R >
fun < R : Comparable < R > > greaterThan ( value : R ) : BinaryComparison < R >
fun < O , R : Comparable < R > > KProperty1 < O , R ? > . greaterThanOrEqual ( value : R ) : ColumnPredicateExpression < O , R >
fun < R : Comparable < R > > Field . greaterThanOrEqual ( value : R ) : ColumnPredicateExpression < Any , R >
fun < R : Comparable < R > > FieldInfo . greaterThanOrEqual ( value : R ) : ColumnPredicateExpression < Any , R >
fun < R : Comparable < R > > greaterThanOrEqual ( value : R ) : BinaryComparison < R >
fun < O , R : Comparable < R > > KProperty1 < O , R ? > . in ( collection : Collection < R > , exactMatch : Boolean = true) : ColumnPredicateExpression < O , R >
fun < R : Comparable < R > > Field . in ( collection : Collection < R > , exactMatch : Boolean = true) : ColumnPredicateExpression < Any , R >
fun < R : Comparable < R > > FieldInfo . in ( collection : Collection < R > , exactMatch : Boolean = true) : ColumnPredicateExpression < Any , R >
fun < R : Comparable < R > > in ( collection : Collection < R > , exactMatch : Boolean = true) : CollectionExpression < R >
fun < R > isNotNull ( ) : NullExpression < R >
fun < R > isNull ( ) : NullExpression < R >
fun < O , R > KProperty1 < O , R ? > . isNull ( ) : ColumnPredicateExpression < O , R >
fun Field . isNull ( ) : ColumnPredicateExpression < Any , Any >
fun FieldInfo . isNull ( ) : ColumnPredicateExpression < Any , Any >
fun < O , R : Comparable < R > > KProperty1 < O , R ? > . lessThan ( value : R ) : ColumnPredicateExpression < O , R >
fun < R : Comparable < R > > Field . lessThan ( value : R ) : ColumnPredicateExpression < Any , R >
fun < R : Comparable < R > > FieldInfo . lessThan ( value : R ) : ColumnPredicateExpression < Any , R >
fun < R : Comparable < R > > lessThan ( value : R ) : BinaryComparison < R >
fun < O , R : Comparable < R > > KProperty1 < O , R ? > . lessThanOrEqual ( value : R ) : ColumnPredicateExpression < O , R >
fun < R : Comparable < R > > Field . lessThanOrEqual ( value : R ) : ColumnPredicateExpression < Any , R >
fun < R : Comparable < R > > FieldInfo . lessThanOrEqual ( value : R ) : ColumnPredicateExpression < Any , R >
fun < R : Comparable < R > > lessThanOrEqual ( value : R ) : BinaryComparison < R >
fun like ( string : String , exactMatch : Boolean = true) : Likeness
fun < O > KProperty1 < O , String ? > . like ( string : String , exactMatch : Boolean = true) : ColumnPredicateExpression < O , String >
fun Field . like ( string : String , exactMatch : Boolean = true) : ColumnPredicateExpression < Any , String >
fun FieldInfo . like ( string : String , exactMatch : Boolean = true) : ColumnPredicateExpression < Any , String >
fun < O , R > KProperty1 < O , R ? > . max ( groupByColumns : List < KProperty1 < O , R > > ? = null, orderBy : Direction ? = null) : AggregateFunctionExpression < O , R >
fun < R > Field . max ( groupByColumns : List < Field > ? = null, orderBy : Direction ? = null) : <ERROR CLASS>
fun < R > FieldInfo . max ( groupByColumns : List < FieldInfo > ? = null, orderBy : Direction ? = null) : <ERROR CLASS>
fun < O , R > KProperty1 < O , R ? > . min ( groupByColumns : List < KProperty1 < O , R > > ? = null, orderBy : Direction ? = null) : AggregateFunctionExpression < O , R >
fun < R > Field . min ( groupByColumns : List < Field > ? = null, orderBy : Direction ? = null) : <ERROR CLASS>
fun < R > FieldInfo . min ( groupByColumns : List < FieldInfo > ? = null, orderBy : Direction ? = null) : <ERROR CLASS>
fun < O , R > KProperty1 < O , R ? > . notEqual ( value : R , exactMatch : Boolean = true) : ColumnPredicateExpression < O , R >
fun < R > Field . notEqual ( value : R , exactMatch : Boolean = true) : ColumnPredicateExpression < Any , R >
fun < R > FieldInfo . notEqual ( value : R , exactMatch : Boolean = true) : ColumnPredicateExpression < Any , R >
fun < R > notEqual ( value : R , exactMatch : Boolean = true) : EqualityComparison < R >
fun < O , R : Comparable < R > > KProperty1 < O , R ? > . notIn ( collection : Collection < R > , exactMatch : Boolean = true) : ColumnPredicateExpression < O , R >
fun < R : Comparable < R > > Field . notIn ( collection : Collection < R > , exactMatch : Boolean = true) : ColumnPredicateExpression < Any , R >
fun < R : Comparable < R > > FieldInfo . notIn ( collection : Collection < R > , exactMatch : Boolean = true) : ColumnPredicateExpression < Any , R >
fun < R : Comparable < R > > notIn ( collection : Collection < R > , exactMatch : Boolean = true) : CollectionExpression < R >
fun notLike ( string : String , exactMatch : Boolean = true) : Likeness
fun < O > KProperty1 < O , String ? > . notLike ( string : String , exactMatch : Boolean = true) : ColumnPredicateExpression < O , String >
fun Field . notLike ( string : String , exactMatch : Boolean = true) : ColumnPredicateExpression < Any , String >
fun FieldInfo . notLike ( string : String , exactMatch : Boolean = true) : ColumnPredicateExpression < Any , String >
fun < O , R > KProperty1 < O , R ? > . notNull ( ) : ColumnPredicateExpression < O , R >
fun Field . notNull ( ) : ColumnPredicateExpression < Any , Any >
fun FieldInfo . notNull ( ) : ColumnPredicateExpression < Any , Any >
fun < O , R > KProperty1 < O , R ? > . predicate ( predicate : ColumnPredicate < R > ) : ColumnPredicateExpression < O , R >
fun < R > Field . predicate ( predicate : ColumnPredicate < R > ) : ColumnPredicateExpression < Any , R >
fun < R > FieldInfo . predicate ( predicate : ColumnPredicate < R > ) : ColumnPredicateExpression < Any , R >
fun < O , R > KProperty1 < O , R ? > . sum ( groupByColumns : List < KProperty1 < O , R > > ? = null, orderBy : Direction ? = null) : AggregateFunctionExpression < O , R >
fun < R > Field . sum ( groupByColumns : List < Field > ? = null, orderBy : Direction ? = null) : <ERROR CLASS>
fun < R > FieldInfo . sum ( groupByColumns : List < FieldInfo > ? = null, orderBy : Direction ? = null) : <ERROR CLASS>
open class BusinessCalendar
Module Contents
BusinessCalendar ( holidayDates : SortedSet < LocalDate > )
val EMPTY : BusinessCalendar
open fun applyRollConvention ( testDate : LocalDate , dateRollConvention : DateRollConvention ) : LocalDate
fun calculateDaysBetween ( startDate : LocalDate , endDate : LocalDate , dcbYear : DayCountBasisYear , dcbDay : DayCountBasisDay ) : Int
fun createGenericSchedule ( startDate : LocalDate , period : Frequency , calendar : BusinessCalendar = EMPTY, dateRollConvention : DateRollConvention = DateRollConvention.Following, noOfAdditionalPeriods : Int = Integer.MAX_VALUE, endDate : LocalDate ? = null, periodOffset : Int ? = null) : List < LocalDate >
open fun equals ( other : Any ? ) : Boolean
fun getOffsetDate ( startDate : LocalDate , period : Frequency , steps : Int = 1) : LocalDate
open fun hashCode ( ) : Int
val holidayDates : SortedSet < LocalDate >
open fun isWorkingDay ( date : LocalDate ) : Boolean
fun moveBusinessDays ( date : LocalDate , direction : DateRollDirection , i : Int ) : LocalDate
fun parseDateFromString ( it : String ) : LocalDate
operator fun plus ( other : BusinessCalendar ) : BusinessCalendar
open fun toString ( ) : String
sealed class ByteSequence : Comparable < ByteSequence >
class Cash : OnLedgerAsset < Currency , Commands , State >
Module Contents
Cash ( )
interface Commands : CommandData
const val PROGRAM_ID : ContractClassName
data class State : FungibleAsset < Currency > , QueryableState
fun deriveState ( txState : TransactionState < State > , amount : Amount < Issued < Currency > > , owner : AbstractParty ) : TransactionState < State >
fun extractCommands ( commands : Collection < CommandWithParties < CommandData > > ) : List < CommandWithParties < Commands > >
fun generateExitCommand ( amount : Amount < Issued < Currency > > ) : Exit
fun generateIssue ( tx : TransactionBuilder , tokenDef : Issued < Currency > , pennies : Long , owner : AbstractParty , notary : Party ) : Set < PublicKey >
fun generateIssue ( tx : TransactionBuilder , amount : Amount < Issued < Currency > > , owner : AbstractParty , notary : Party ) : Set < PublicKey >
fun generateMoveCommand ( ) : Move
fun verify ( tx : LedgerTransaction ) : Unit
class CashException : FlowException
@InitiatingFlow @StartableByRPC class CashExitFlow : AbstractCashFlow < Result >
@InitiatedBy ( CashExitFlow) class CashExitResponderFlow : FlowLogic < Unit >
@StartableByRPC class CashIssueAndPaymentFlow : AbstractCashFlow < Result >
@StartableByRPC class CashIssueFlow : AbstractCashFlow < Result >
@StartableByRPC @InitiatingFlow open class CashPaymentFlow : AbstractCashFlow < Result >
Module Contents
CashPaymentFlow ( amount : Amount < Currency > , recipient : Party )
CashPaymentFlow ( amount : Amount < Currency > , recipient : Party , anonymous : Boolean )
CashPaymentFlow ( amount : Amount < Currency > , recipient : Party , anonymous : Boolean , notary : Party )
CashPaymentFlow ( request : PaymentRequest )
CashPaymentFlow ( amount : Amount < Currency > , recipient : Party , anonymous : Boolean , progressTracker : ProgressTracker , issuerConstraint : Set < Party > = emptySet(), notary : Party ? = null)
class PaymentRequest : AbstractRequest
val amount : Amount < Currency >
val anonymous : Boolean
open fun call ( ) : Result
val issuerConstraint : Set < Party >
val notary : Party ?
val recipient : Party
@InitiatedBy ( CashPaymentFlow) class CashPaymentReceiverFlow : FlowLogic < Unit >
object CashSchema
object CashSchema
object CashSchemaV1 : MappedSchema
class CashSelectionH2Impl : AbstractCashSelection
class CashSelectionPostgreSQLImpl : AbstractCashSelection
class CashSelectionSQLServerImpl : AbstractCashSelection
object CashUtils
Module Contents
fun generateSpend ( services : ServiceHub , tx : TransactionBuilder , amount : Amount < Currency > , to : AbstractParty , onlyFromParties : Set < AbstractParty > = emptySet()) : <ERROR CLASS> < TransactionBuilder , List < PublicKey > >
fun generateSpend ( services : ServiceHub , tx : TransactionBuilder , amount : Amount < Currency > , ourIdentity : PartyAndCertificate , to : AbstractParty , onlyFromParties : Set < AbstractParty > = emptySet(), anonymous : Boolean = true) : <ERROR CLASS> < TransactionBuilder , List < PublicKey > >
fun generateSpend ( services : ServiceHub , tx : TransactionBuilder , payments : List < PartyAndAmount < Currency > > , onlyFromParties : Set < AbstractParty > = emptySet()) : <ERROR CLASS> < TransactionBuilder , List < PublicKey > >
fun generateSpend ( services : ServiceHub , tx : TransactionBuilder , payments : List < PartyAndAmount < Currency > > , ourIdentity : PartyAndCertificate , onlyFromParties : Set < AbstractParty > = emptySet(), anonymous : Boolean = true) : <ERROR CLASS> < TransactionBuilder , List < PublicKey > >
interface CheckpointCustomSerializer < OBJ , PROXY >
interface ClassWhitelist
interface ClientRelevantError
data class ClientRpcSslOptions
@DoNotImplement abstract class ClusterSpec
class CollectSignatureFlow : FlowLogic < List < TransactionSignature > >
class CollectSignaturesFlow : FlowLogic < SignedTransaction >
enum class CollectionOperator : Operator
class Column < O , out C >
sealed class ColumnPredicate < C >
data class Command < T : CommandData >
data class CommandAndState
interface CommandData
data class CommandWithParties < out T : CommandData >
class CommercialPaper : Contract
object CommercialPaperSchema
object CommercialPaperSchemaV1 : MappedSchema
object CommercialPaperUtils
data class Commodity : TokenizableAssetInfo
object CommonSchema
object CommonSchemaV1 : MappedSchema
open class ComponentGroup
enum class ComponentGroupEnum
class ComponentVisibilityException : CordaException
class CompositeKey : PublicKey
class CompositeKeyFactory : KeyFactorySpi
class CompositeSignature : Signature
data class CompositeSignaturesWithKeys
open class ConnectionFailureException : RPCException
@Target ( [AnnotationTarget.CONSTRUCTOR]) annotation class ConstructorForDeserialization
enum class ContextPropertyKeys
interface Contract
class ContractAttachment : Attachment
typealias ContractClassName = String
interface ContractState
data class ContractUpgradeFilteredTransaction : CoreTransaction
Module Contents
ContractUpgradeFilteredTransaction ( visibleComponents : Map < Int , FilteredComponent > , hiddenComponents : Map < Int , SecureHash > )
ContractUpgradeFilteredTransaction ( visibleComponents : Map < Int , FilteredComponent > , hiddenComponents : Map < Int , SecureHash > , digestService : DigestService )
class FilteredComponent
fun copy ( visibleComponents : Map < Int , FilteredComponent > , hiddenComponents : Map < Int , SecureHash > ) : ContractUpgradeFilteredTransaction
val digestService : DigestService
val hiddenComponents : Map < Int , SecureHash >
val id : SecureHash
val inputs : List < StateRef >
val networkParametersHash : SecureHash ?
val notary : Party
val outputs : List < TransactionState < ContractState > >
val references : List < StateRef >
val visibleComponents : Map < Int , FilteredComponent >
object ContractUpgradeFlow
class ContractUpgradeLedgerTransaction : FullTransaction , TransactionWithSignatures
Module Contents
ContractUpgradeLedgerTransaction ( inputs : List < StateAndRef < ContractState > > , notary : Party , legacyContractAttachment : Attachment , upgradedContractClassName : ContractClassName , upgradedContractAttachment : Attachment , id : SecureHash , privacySalt : PrivacySalt , sigs : List < TransactionSignature > , networkParameters : NetworkParameters )
operator fun component1 ( ) : List < StateAndRef < ContractState > >
operator fun component2 ( ) : Party
operator fun component3 ( ) : Attachment
operator fun component4 ( ) : ContractClassName
operator fun component5 ( ) : Attachment
operator fun component6 ( ) : SecureHash
operator fun component7 ( ) : PrivacySalt
operator fun component8 ( ) : List < TransactionSignature >
operator fun component9 ( ) : NetworkParameters
fun copy ( inputs : List < StateAndRef < ContractState > > = this.inputs, notary : Party = this.notary, legacyContractAttachment : Attachment = this.legacyContractAttachment, upgradedContractClassName : ContractClassName = this.upgradedContract::class.java.name, upgradedContractAttachment : Attachment = this.upgradedContractAttachment, id : SecureHash = this.id, privacySalt : PrivacySalt = this.privacySalt, sigs : List < TransactionSignature > = this.sigs, networkParameters : NetworkParameters = this.networkParameters) : ContractUpgradeLedgerTransaction
fun equals ( other : Any ? ) : Boolean
fun getKeyDescriptions ( keys : Set < PublicKey > ) : List < String >
fun hashCode ( ) : Int
val id : SecureHash
val inputs : List < StateAndRef < ContractState > >
val legacyContractAttachment : Attachment
val networkParameters : NetworkParameters
val notary : Party
val outputs : List < TransactionState < ContractState > >
val privacySalt : PrivacySalt
val references : List < StateAndRef < ContractState > >
val requiredSigningKeys : Set < PublicKey >
val sigs : List < TransactionSignature >
fun toString ( ) : String
val upgradedContractAttachment : Attachment
val upgradedContractClassName : ContractClassName
@DoNotImplement interface ContractUpgradeService
data class ContractUpgradeWireTransaction : CoreTransaction
open class CordaException : Exception , CordaThrowable
interface CordaFuture < V > : Future < V >
@Target ( [AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.PROPERTY, AnnotationTarget.FUNCTION, AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.CLASS]) annotation class CordaInternal
object CordaOID
object CordaObjectIdentifier
class CordaRPCClient
Module Contents
CordaRPCClient ( hostAndPort : NetworkHostAndPort , configuration : CordaRPCClientConfiguration = CordaRPCClientConfiguration.DEFAULT)
CordaRPCClient ( hostAndPort : NetworkHostAndPort , configuration : CordaRPCClientConfiguration = CordaRPCClientConfiguration.DEFAULT, classLoader : ClassLoader )
CordaRPCClient ( hostAndPort : NetworkHostAndPort , sslConfiguration : ClientRpcSslOptions ? = null, classLoader : ClassLoader ? = null)
CordaRPCClient ( hostAndPort : NetworkHostAndPort , configuration : CordaRPCClientConfiguration , sslConfiguration : ClientRpcSslOptions ? , classLoader : ClassLoader ? = null)
CordaRPCClient ( haAddressPool : List < NetworkHostAndPort > , configuration : CordaRPCClientConfiguration = CordaRPCClientConfiguration.DEFAULT, sslConfiguration : ClientRpcSslOptions ? = null, classLoader : ClassLoader ? = null)
CordaRPCClient ( hostAndPort : NetworkHostAndPort , configuration : CordaRPCClientConfiguration = CordaRPCClientConfiguration.DEFAULT, sslConfiguration : ClientRpcSslOptions ? = null, classLoader : ClassLoader ? = null, customSerializers : Set < SerializationCustomSerializer < * , * > > ? )
CordaRPCClient ( haAddressPool : List < NetworkHostAndPort > , configuration : CordaRPCClientConfiguration = CordaRPCClientConfiguration.DEFAULT, sslConfiguration : ClientRpcSslOptions ? = null, classLoader : ClassLoader ? = null, customSerializers : Set < SerializationCustomSerializer < * , * > > ? )
@CordaInternal @VisibleForTesting fun getRegisteredCustomSerializers ( ) : List < SerializationCustomSerializer < * , * > >
fun start ( username : String , password : String , gracefulReconnect : GracefulReconnect ? = null) : CordaRPCConnection
fun start ( username : String , password : String , targetLegalIdentity : CordaX500Name , gracefulReconnect : GracefulReconnect ? = null) : CordaRPCConnection
fun start ( username : String , password : String , externalTrace : Trace ? , impersonatedActor : Actor ? , gracefulReconnect : GracefulReconnect ? = null) : CordaRPCConnection
fun start ( username : String , password : String , externalTrace : Trace ? , impersonatedActor : Actor ? , targetLegalIdentity : CordaX500Name ? , gracefulReconnect : GracefulReconnect ? = null) : CordaRPCConnection
inline fun < A > use ( username : String , password : String , block : ( CordaRPCConnection ) -> A ) : A
open class CordaRPCClientConfiguration
class CordaRPCConnection : RPCConnection < CordaRPCOps >
interface CordaRPCOps : RPCOps
Module Contents
abstract fun acceptNewNetworkParameters ( parametersHash : SecureHash ) : Unit
abstract fun addVaultTransactionNote ( txnId : SecureHash , txnNote : String ) : Unit
abstract fun attachmentExists ( id : SecureHash ) : Boolean
abstract fun clearNetworkMapCache ( ) : Unit
abstract fun currentNodeTime ( ) : Instant
abstract fun finishedFlowsWithClientIds ( ) : Map < String , Boolean >
abstract fun finishedFlowsWithClientIdsAsAdmin ( ) : Map < String , Boolean >
abstract fun getVaultTransactionNotes ( txnId : SecureHash ) : Iterable < String >
abstract fun isFlowsDrainingModeEnabled ( ) : Boolean
abstract fun isWaitingForShutdown ( ) : Boolean
abstract fun killFlow ( id : StateMachineRunId ) : Boolean
@RPCReturnsObservables abstract fun networkMapFeed ( ) : DataFeed < List < NodeInfo > , MapChange >
abstract fun networkMapSnapshot ( ) : List < NodeInfo >
abstract val networkParameters : NetworkParameters
@RPCReturnsObservables abstract fun networkParametersFeed ( ) : DataFeed < ParametersUpdateInfo ? , ParametersUpdateInfo >
abstract fun nodeDiagnosticInfo ( ) : NodeDiagnosticInfo
abstract fun nodeInfo ( ) : NodeInfo
abstract fun nodeInfoFromParty ( party : AbstractParty ) : NodeInfo ?
abstract fun notaryIdentities ( ) : List < Party >
abstract fun notaryPartyFromX500Name ( x500Name : CordaX500Name ) : Party ?
abstract fun openAttachment ( id : SecureHash ) : InputStream
abstract fun partiesFromName ( query : String , exactMatch : Boolean ) : Set < Party >
abstract fun partyFromKey ( key : PublicKey ) : Party ?
abstract fun queryAttachments ( query : AttachmentQueryCriteria , sorting : AttachmentSort ? ) : List < AttachmentId >
@RPCReturnsObservables abstract fun < T > reattachFlowWithClientId ( clientId : String ) : FlowHandleWithClientId < T > ?
abstract fun refreshNetworkMapCache ( ) : Unit
abstract fun registeredFlows ( ) : List < String >
abstract fun removeClientId ( clientId : String ) : Boolean
abstract fun removeClientIdAsAdmin ( clientId : String ) : Boolean
abstract fun setFlowsDrainingModeEnabled ( enabled : Boolean ) : Unit
abstract fun shutdown ( ) : Unit
@RPCReturnsObservables abstract fun < T > startFlowDynamic ( logicType : Class < out FlowLogic < T > > , vararg args : Any ? ) : FlowHandle < T >
@RPCReturnsObservables abstract fun < T > startFlowDynamicWithClientId ( clientId : String , logicType : Class < out FlowLogic < T > > , vararg args : Any ? ) : FlowHandleWithClientId < T >
@RPCReturnsObservables abstract fun < T > startTrackedFlowDynamic ( logicType : Class < out FlowLogic < T > > , vararg args : Any ? ) : FlowProgressHandle < T >
@RPCReturnsObservables abstract fun stateMachineRecordedTransactionMappingFeed ( ) : DataFeed < List < StateMachineTransactionMapping > , StateMachineTransactionMapping >
abstract fun stateMachineRecordedTransactionMappingSnapshot ( ) : List < StateMachineTransactionMapping >
@RPCReturnsObservables abstract fun stateMachinesFeed ( ) : DataFeed < List < StateMachineInfo > , StateMachineUpdate >
abstract fun stateMachinesSnapshot ( ) : List < StateMachineInfo >
abstract fun terminate ( drainPendingFlows : Boolean = false) : Unit
abstract fun uploadAttachment ( jar : InputStream ) : SecureHash
abstract fun uploadAttachmentWithMetadata ( jar : InputStream , uploader : String , filename : String ) : SecureHash
abstract fun < T : ContractState > vaultQuery ( contractStateType : Class < out T > ) : Page < T >
@RPCReturnsObservables abstract fun < T : ContractState > vaultQueryBy ( criteria : QueryCriteria , paging : PageSpecification , sorting : Sort , contractStateType : Class < out T > ) : Page < T >
abstract fun < T : ContractState > vaultQueryByCriteria ( criteria : QueryCriteria , contractStateType : Class < out T > ) : Page < T >
abstract fun < T : ContractState > vaultQueryByWithPagingSpec ( contractStateType : Class < out T > , criteria : QueryCriteria , paging : PageSpecification ) : Page < T >
abstract fun < T : ContractState > vaultQueryByWithSorting ( contractStateType : Class < out T > , criteria : QueryCriteria , sorting : Sort ) : Page < T >
abstract fun < T : ContractState > vaultTrack ( contractStateType : Class < out T > ) : DataFeed < Page < T > , Update < T > >
@RPCReturnsObservables abstract fun < T : ContractState > vaultTrackBy ( criteria : QueryCriteria , paging : PageSpecification , sorting : Sort , contractStateType : Class < out T > ) : DataFeed < Page < T > , Update < T > >
abstract fun < T : ContractState > vaultTrackByCriteria ( contractStateType : Class < out T > , criteria : QueryCriteria ) : DataFeed < Page < T > , Update < T > >
abstract fun < T : ContractState > vaultTrackByWithPagingSpec ( contractStateType : Class < out T > , criteria : QueryCriteria , paging : PageSpecification ) : DataFeed < Page < T > , Update < T > >
abstract fun < T : ContractState > vaultTrackByWithSorting ( contractStateType : Class < out T > , criteria : QueryCriteria , sorting : Sort ) : DataFeed < Page < T > , Update < T > >
@RPCReturnsObservables abstract fun waitUntilNetworkReady ( ) : CordaFuture < Void ? >
abstract fun wellKnownPartyFromAnonymous ( party : AbstractParty ) : Party ?
abstract fun wellKnownPartyFromX500Name ( x500Name : CordaX500Name ) : Party ?
open class CordaRuntimeException : RuntimeException , CordaThrowable
class CordaSecurityProvider : Provider
@Target ( [AnnotationTarget.CLASS]) @Inherited annotation class CordaSerializable
@Target ( [AnnotationTarget.CLASS]) annotation class CordaSerializationTransformEnumDefault
@Target ( [AnnotationTarget.CLASS]) annotation class CordaSerializationTransformEnumDefaults
@Target ( [AnnotationTarget.CLASS]) annotation class CordaSerializationTransformRename
@Target ( [AnnotationTarget.CLASS]) annotation class CordaSerializationTransformRenames
@Target ( [AnnotationTarget.CLASS]) annotation class CordaService
class CordaServiceCriticalFailureException : Exception
interface CordaThrowable
@DoNotImplement interface CordaTransactionSupport
data class CordaX500Name
Module Contents
CordaX500Name ( commonName : String , organisation : String , locality : String , country : String )
CordaX500Name ( organisation : String , locality : String , country : String )
CordaX500Name ( commonName : String ? , organisationUnit : String ? , organisation : String , locality : String , state : String ? , country : String )
const val LENGTH_COUNTRY : Int
const val MAX_LENGTH_COMMON_NAME : Int
const val MAX_LENGTH_LOCALITY : Int
const val MAX_LENGTH_ORGANISATION : Int
const val MAX_LENGTH_ORGANISATION_UNIT : Int
const val MAX_LENGTH_STATE : Int
fun build ( principal : X500Principal ) : CordaX500Name
val commonName : String ?
val country : String
val locality : String
val organisation : String
val organisationUnit : String ?
fun parse ( name : String ) : CordaX500Name
val state : String ?
fun toString ( ) : String
val x500Principal : X500Principal
@DoNotImplement interface Cordapp
@DoNotImplement interface CordappConfig
class CordappConfigException : Exception
class CordappContext
data class CordappInfo
@DoNotImplement interface CordappProvider
abstract class CoreTransaction : BaseTransaction
class CouldNotStartFlowException : RPCException
sealed class CriteriaExpression < O , out T >
object Crypto
Module Contents
val COMPOSITE_KEY : SignatureScheme
val DEFAULT_SIGNATURE_SCHEME : SignatureScheme
val ECDSA_SECP256K1_SHA256 : SignatureScheme
val ECDSA_SECP256R1_SHA256 : SignatureScheme
val EDDSA_ED25519_SHA512 : SignatureScheme
val RSA_SHA256 : SignatureScheme
val SHA512_256 : <ERROR CLASS>
val SPHINCS256_SHA256 : SignatureScheme
fun decodePrivateKey ( encodedKey : ByteArray ) : PrivateKey
fun decodePrivateKey ( schemeCodeName : String , encodedKey : ByteArray ) : PrivateKey
fun decodePrivateKey ( signatureScheme : SignatureScheme , encodedKey : ByteArray ) : PrivateKey
fun decodePublicKey ( encodedKey : ByteArray ) : PublicKey
fun decodePublicKey ( schemeCodeName : String , encodedKey : ByteArray ) : PublicKey
fun decodePublicKey ( signatureScheme : SignatureScheme , encodedKey : ByteArray ) : PublicKey
fun deriveKeyPair ( signatureScheme : SignatureScheme , privateKey : PrivateKey , seed : ByteArray ) : KeyPair
fun deriveKeyPair ( privateKey : PrivateKey , seed : ByteArray ) : KeyPair
fun deriveKeyPairFromEntropy ( signatureScheme : SignatureScheme , entropy : BigInteger ) : KeyPair
fun deriveKeyPairFromEntropy ( entropy : BigInteger ) : KeyPair
fun doSign ( privateKey : PrivateKey , clearData : ByteArray ) : ByteArray
fun doSign ( schemeCodeName : String , privateKey : PrivateKey , clearData : ByteArray ) : ByteArray
fun doSign ( signatureScheme : SignatureScheme , privateKey : PrivateKey , clearData : ByteArray ) : ByteArray
fun doSign ( keyPair : KeyPair , signableData : SignableData ) : TransactionSignature
fun doVerify ( schemeCodeName : String , publicKey : PublicKey , signatureData : ByteArray , clearData : ByteArray ) : Boolean
fun doVerify ( publicKey : PublicKey , signatureData : ByteArray , clearData : ByteArray ) : Boolean
fun doVerify ( signatureScheme : SignatureScheme , publicKey : PublicKey , signatureData : ByteArray , clearData : ByteArray ) : Boolean
fun doVerify ( txId : SecureHash , transactionSignature : TransactionSignature ) : Boolean
fun findProvider ( name : String ) : Provider
fun findSignatureScheme ( algorithm : <ERROR CLASS> ) : SignatureScheme
fun findSignatureScheme ( : Int ) : SignatureScheme
fun findSignatureScheme ( schemeCodeName : String ) : SignatureScheme
fun findSignatureScheme ( key : PublicKey ) : SignatureScheme
fun findSignatureScheme ( key : PrivateKey ) : SignatureScheme
fun generateKeyPair ( schemeCodeName : String ) : KeyPair
fun generateKeyPair ( signatureScheme : SignatureScheme = DEFAULT_SIGNATURE_SCHEME) : KeyPair
fun isSupportedSignatureScheme ( signatureScheme : SignatureScheme ) : Boolean
fun isValid ( txId : SecureHash , transactionSignature : TransactionSignature ) : Boolean
fun isValid ( publicKey : PublicKey , signatureData : ByteArray , clearData : ByteArray ) : Boolean
fun isValid ( signatureScheme : SignatureScheme , publicKey : PublicKey , signatureData : ByteArray , clearData : ByteArray ) : Boolean
fun publicKeyOnCurve ( signatureScheme : SignatureScheme , publicKey : PublicKey ) : Boolean
fun registerProviders ( ) : Unit
fun supportedSignatureSchemes ( ) : List < SignatureScheme >
fun toSupportedPrivateKey ( key : PrivateKey ) : PrivateKey
fun toSupportedPublicKey ( key : <ERROR CLASS> ) : PublicKey
fun toSupportedPublicKey ( key : PublicKey ) : PublicKey
fun validatePublicKey ( key : PublicKey ) : Boolean
interface CustomSerializationScheme
data class DataFeed < out A , B >
open class DataVendingFlow : FlowLogic < Void ? >
object DatabaseSnapshot
enum class DateRollConvention
enum class DateRollDirection
enum class DayCountBasisDay
enum class DayCountBasisYear
interface DealState : LinearState
@Target ( [AnnotationTarget.FILE, AnnotationTarget.CLASS, AnnotationTarget.CONSTRUCTOR, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.PROPERTY, AnnotationTarget.FIELD, AnnotationTarget.TYPEALIAS]) @CordaInternal annotation class DeleteForDJVM
@Target ( [AnnotationTarget.CONSTRUCTOR]) annotation class DeprecatedConstructorForDeserialization
@DoNotImplement interface Destination
@DoNotImplement interface DiagnosticsService
interface DigestAlgorithm
data class DigestService
open class DigitalSignature : OpaqueBytes
interface DirectStatePersistable : StatePersistable
@Target ( [AnnotationTarget.CLASS]) @Inherited annotation class DoNotImplement
class DoubleSpentInputs : FlowException
@DoNotImplement interface DriverDSL
Module Contents
abstract fun baseDirectory ( nodeName : CordaX500Name ) : Path
open val defaultNotaryHandle : NotaryHandle
open val defaultNotaryIdentity : Party
open val defaultNotaryNode : CordaFuture < NodeHandle >
open fun nextPort ( ) : Int
abstract val notaryHandles : List < NotaryHandle >
open fun startNode ( ) : CordaFuture < NodeHandle >
abstract fun startNode ( parameters : NodeParameters ) : CordaFuture < NodeHandle >
open fun startNode ( defaultParameters : NodeParameters = NodeParameters(), providedName : CordaX500Name ? = defaultParameters.providedName, rpcUsers : List < User > = defaultParameters.rpcUsers, verifierType : VerifierType = defaultParameters.verifierType, customOverrides : Map < String , Any ? > = defaultParameters.customOverrides, startInSameProcess : Boolean ? = defaultParameters.startInSameProcess, maximumHeapSize : String = defaultParameters.maximumHeapSize, logLevelOverride : String ? = defaultParameters.logLevelOverride) : CordaFuture < NodeHandle >
open fun startNode ( defaultParameters : NodeParameters = NodeParameters(), providedName : CordaX500Name ? = defaultParameters.providedName, rpcUsers : List < User > = defaultParameters.rpcUsers, verifierType : VerifierType = defaultParameters.verifierType, customOverrides : Map < String , Any ? > = defaultParameters.customOverrides, startInSameProcess : Boolean ? = defaultParameters.startInSameProcess, maximumHeapSize : String = defaultParameters.maximumHeapSize) : CordaFuture < NodeHandle >
open fun startWebserver ( handle : NodeHandle ) : CordaFuture < WebserverHandle >
abstract fun startWebserver ( handle : NodeHandle , maximumHeapSize : String ) : CordaFuture < WebserverHandle >
data class DriverParameters
Module Contents
DriverParameters ( cordappsForAllNodes : Collection < TestCordapp > )
DriverParameters ( isDebug : Boolean = false, driverDirectory : Path = Paths.get("build") / "node-driver" / getTimestampAsDirectoryName(), portAllocation : PortAllocation = incrementalPortAllocation(), debugPortAllocation : PortAllocation = incrementalPortAllocation(), systemProperties : Map < String , String > = emptyMap(), useTestClock : Boolean = false, startNodesInProcess : Boolean = false, waitForAllNodesToFinish : Boolean = false, notarySpecs : List < NotarySpec > = listOf(NotarySpec(DUMMY_NOTARY_NAME)), : List < String > = emptyList(), jmxPolicy : JmxPolicy = JmxPolicy(), networkParameters : NetworkParameters = testNetworkParameters(notaries = emptyList()), notaryCustomOverrides : Map < String , Any ? > = emptyMap(), inMemoryDB : Boolean = true, cordappsForAllNodes : Collection < TestCordapp > ? = null)
DriverParameters ( isDebug : Boolean = false, driverDirectory : Path = Paths.get("build") / "node-driver" / getTimestampAsDirectoryName(), portAllocation : PortAllocation = incrementalPortAllocation(), debugPortAllocation : PortAllocation = incrementalPortAllocation(), systemProperties : Map < String , String > = emptyMap(), useTestClock : Boolean = false, startNodesInProcess : Boolean = false, waitForAllNodesToFinish : Boolean = false, notarySpecs : List < NotarySpec > = listOf(NotarySpec(DUMMY_NOTARY_NAME)), : List < String > = emptyList(), jmxPolicy : JmxPolicy = JmxPolicy(), networkParameters : NetworkParameters = testNetworkParameters(notaries = emptyList()), notaryCustomOverrides : Map < String , Any ? > = emptyMap(), inMemoryDB : Boolean = true)
DriverParameters ( isDebug : Boolean , driverDirectory : Path , portAllocation : PortAllocation , debugPortAllocation : PortAllocation , systemProperties : Map < String , String > , useTestClock : Boolean , startNodesInProcess : Boolean , waitForAllNodesToFinish : Boolean , notarySpecs : List < NotarySpec > , : List < String > , jmxPolicy : JmxPolicy , networkParameters : NetworkParameters )
DriverParameters ( isDebug : Boolean = false, driverDirectory : Path = Paths.get("build") / "node-driver" / getTimestampAsDirectoryName(), portAllocation : PortAllocation = incrementalPortAllocation(), debugPortAllocation : PortAllocation = incrementalPortAllocation(), systemProperties : Map < String , String > = emptyMap(), useTestClock : Boolean = false, startNodesInProcess : Boolean = false, waitForAllNodesToFinish : Boolean = false, notarySpecs : List < NotarySpec > = listOf(NotarySpec(DUMMY_NOTARY_NAME)), : List < String > = emptyList(), jmxPolicy : JmxPolicy = JmxPolicy(), networkParameters : NetworkParameters = testNetworkParameters(notaries = emptyList()), notaryCustomOverrides : Map < String , Any ? > = emptyMap(), inMemoryDB : Boolean = false, cordappsForAllNodes : Collection < TestCordapp > ? = null, djvmBootstrapSource : Path ? = null, djvmCordaSource : List < Path > = emptyList(), environmentVariables : Map < String , String > = emptyMap(), allowHibernateToManageAppSchema : Boolean = true)
DriverParameters ( isDebug : Boolean , driverDirectory : Path , portAllocation : PortAllocation , debugPortAllocation : PortAllocation , systemProperties : Map < String , String > , useTestClock : Boolean , startNodesInProcess : Boolean , waitForAllNodesToFinish : Boolean , notarySpecs : List < NotarySpec > , : List < String > , jmxPolicy : JmxPolicy , networkParameters : NetworkParameters , inMemoryDB : Boolean )
DriverParameters ( isDebug : Boolean = false, driverDirectory : Path = Paths.get("build") / "node-driver" / getTimestampAsDirectoryName(), portAllocation : PortAllocation = incrementalPortAllocation(), debugPortAllocation : PortAllocation = incrementalPortAllocation(), systemProperties : Map < String , String > = emptyMap(), useTestClock : Boolean = false, startNodesInProcess : Boolean = false, waitForAllNodesToFinish : Boolean = false, notarySpecs : List < NotarySpec > = listOf(NotarySpec(DUMMY_NOTARY_NAME)), : List < String > = emptyList(), jmxPolicy : JmxPolicy = JmxPolicy(), networkParameters : NetworkParameters = testNetworkParameters(notaries = emptyList()), notaryCustomOverrides : Map < String , Any ? > = emptyMap(), inMemoryDB : Boolean = false, cordappsForAllNodes : Collection < TestCordapp > ? = null, djvmBootstrapSource : Path ? = null, djvmCordaSource : List < Path > = emptyList(), environmentVariables : Map < String , String > = emptyMap(), allowHibernateToManageAppSchema : Boolean = true, premigrateH2Database : Boolean = true)
val allowHibernateToManageAppSchema : Boolean
fun copy ( isDebug : Boolean , driverDirectory : Path , portAllocation : PortAllocation , debugPortAllocation : PortAllocation , systemProperties : Map < String , String > , useTestClock : Boolean , startNodesInProcess : Boolean , waitForAllNodesToFinish : Boolean , notarySpecs : List < NotarySpec > , : List < String > , jmxPolicy : JmxPolicy , networkParameters : NetworkParameters ) : DriverParameters
fun copy ( isDebug : Boolean , driverDirectory : Path , portAllocation : PortAllocation , debugPortAllocation : PortAllocation , systemProperties : Map < String , String > , useTestClock : Boolean , startNodesInProcess : Boolean , waitForAllNodesToFinish : Boolean , notarySpecs : List < NotarySpec > , : List < String > , jmxPolicy : JmxPolicy , networkParameters : NetworkParameters , cordappsForAllNodes : Set < TestCordapp > ? ) : DriverParameters
fun copy ( isDebug : Boolean , driverDirectory : Path , portAllocation : PortAllocation , debugPortAllocation : PortAllocation , systemProperties : Map < String , String > , useTestClock : Boolean , startNodesInProcess : Boolean , waitForAllNodesToFinish : Boolean , notarySpecs : List < NotarySpec > , : List < String > , jmxPolicy : JmxPolicy , networkParameters : NetworkParameters , notaryCustomOverrides : Map < String , Any ? > , inMemoryDB : Boolean , cordappsForAllNodes : Collection < TestCordapp > ? ) : DriverParameters
fun copy ( isDebug : Boolean , driverDirectory : Path , portAllocation : PortAllocation , debugPortAllocation : PortAllocation , systemProperties : Map < String , String > , useTestClock : Boolean , startNodesInProcess : Boolean , waitForAllNodesToFinish : Boolean , notarySpecs : List < NotarySpec > , : List < String > , jmxPolicy : JmxPolicy , networkParameters : NetworkParameters , notaryCustomOverrides : Map < String , Any ? > , inMemoryDB : Boolean , cordappsForAllNodes : Collection < TestCordapp > ? , djvmBootstrapSource : Path ? , djvmCordaSource : List < Path > , environmentVariables : Map < String , String > , allowHibernateToManageAppSchema : Boolean ) : DriverParameters
val cordappsForAllNodes : Collection < TestCordapp > ?
val debugPortAllocation : PortAllocation
val djvmBootstrapSource : Path ?
val djvmCordaSource : List < Path >
val driverDirectory : Path
val environmentVariables : Map < String , String >
val extraCordappPackagesToScan : List < String >
val inMemoryDB : Boolean
val isDebug : Boolean
val jmxPolicy : JmxPolicy
val networkParameters : NetworkParameters
val notaryCustomOverrides : Map < String , Any ? >
val notarySpecs : List < NotarySpec >
val portAllocation : PortAllocation
val premigrateH2Database : Boolean
val startNodesInProcess : Boolean
val systemProperties : Map < String , String >
val useTestClock : Boolean
val waitForAllNodesToFinish : Boolean
fun withAllowHibernateToManageAppSchema ( value : Boolean ) : DriverParameters
fun withCordappsForAllNodes ( cordappsForAllNodes : Collection < TestCordapp > ? ) : DriverParameters
fun withDebugPortAllocation ( debugPortAllocation : PortAllocation ) : DriverParameters
fun withDjvmBootstrapSource ( djvmBootstrapSource : Path ? ) : DriverParameters
fun withDjvmCordaSource ( djvmCordaSource : List < Path > ) : DriverParameters
fun withDriverDirectory ( driverDirectory : Path ) : DriverParameters
fun withEnvironmentVariables ( variables : Map < String , String > ) : DriverParameters
fun withExtraCordappPackagesToScan ( : List < String > ) : DriverParameters
fun withInMemoryDB ( inMemoryDB : Boolean ) : DriverParameters
fun withIsDebug ( isDebug : Boolean ) : DriverParameters
fun withJmxPolicy ( jmxPolicy : JmxPolicy ) : DriverParameters
fun withNetworkParameters ( networkParameters : NetworkParameters ) : DriverParameters
fun withNotaryCustomOverrides ( notaryCustomOverrides : Map < String , Any ? > ) : DriverParameters
fun withNotarySpecs ( notarySpecs : List < NotarySpec > ) : DriverParameters
fun withPortAllocation ( portAllocation : PortAllocation ) : DriverParameters
fun withStartNodesInProcess ( startNodesInProcess : Boolean ) : DriverParameters
fun withSystemProperties ( systemProperties : Map < String , String > ) : DriverParameters
fun withUseTestClock ( useTestClock : Boolean ) : DriverParameters
fun withWaitForAllNodesToFinish ( waitForAllNodesToFinish : Boolean ) : DriverParameters
object DummySecureRandom : SecureRandom
class DuplicateOutputLabel : FlowException
@DoNotImplement interface EncodingWhitelist
@DoNotImplement sealed class EnforceVerifyOrFail
enum class EqualityComparisonOperator : Operator
data class Expression
class FieldInfo
data class FilteredComponentGroup : ComponentGroup
class FilteredTransaction : TraversableTransaction
class FilteredTransactionVerificationException : CordaException
@InitiatingFlow class FinalityFlow : FlowLogic < SignedTransaction >
Module Contents
FinalityFlow ( transaction : SignedTransaction , : Set < Party > , progressTracker : ProgressTracker )
FinalityFlow ( transaction : SignedTransaction , : Set < Party > )
FinalityFlow ( transaction : SignedTransaction )
FinalityFlow ( transaction : SignedTransaction , progressTracker : ProgressTracker )
FinalityFlow ( transaction : SignedTransaction , firstSession : FlowSession , vararg restSessions : FlowSession )
FinalityFlow ( transaction : SignedTransaction , sessions : Collection < FlowSession > , progressTracker : ProgressTracker = tracker())
FinalityFlow ( transaction : SignedTransaction , sessions : Collection < FlowSession > , statesToRecord : StatesToRecord , progressTracker : ProgressTracker = tracker())
FinalityFlow ( transaction : SignedTransaction , sessions : Collection < FlowSession > , oldParticipants : Collection < Party > , progressTracker : ProgressTracker )
object BROADCASTING : Step
@CordaInternal data class ExtraConstructorArgs
object NOTARISING : Step
fun call ( ) : SignedTransaction
@CordaInternal fun getExtraConstructorArgs ( ) : ExtraConstructorArgs
val progressTracker : ProgressTracker
fun tracker ( ) : ProgressTracker
val transaction : SignedTransaction
data class Fix : CommandData
data class FixOf
interface FixableDealState : DealState
open class FlowException : CordaException
interface FlowExternalAsyncOperation < R : Any >
interface FlowExternalOperation < R : Any >
@DoNotImplement interface FlowHandle < A > : AutoCloseable
data class FlowHandleImpl < A > : FlowHandle < A >
interface FlowHandleWithClientId < A > : FlowHandle < A >
data class FlowHandleWithClientIdImpl < A > : FlowHandleWithClientId < A >
data class FlowInfo
typealias FlowInfo = StateMachineInfo
sealed class FlowInitiator : Principal
abstract class FlowLogic < out T >
Module Contents
FlowLogic ( )
fun < R : Any > await ( operation : FlowExternalAsyncOperation < R > ) : R
fun < R : Any > await ( operation : FlowExternalOperation < R > ) : R
abstract fun call ( ) : T
fun checkFlowIsNotKilled ( ) : Unit
fun checkFlowIsNotKilled ( lazyMessage : ( ) -> Any ) : Unit
fun checkFlowPermission ( permissionName : String , : Map < String , String > ) : Unit
fun close ( sessions : NonEmptySet < FlowSession > ) : Unit
val currentTopLevel : FlowLogic < * > ?
fun flowStackSnapshot ( ) : FlowStackSnapshot ?
fun getFlowInfo ( otherParty : Party ) : FlowInfo
fun initiateFlow ( destination : Destination ) : FlowSession
fun initiateFlow ( party : Party ) : FlowSession
val isKilled : Boolean
val logger : <ERROR CLASS>
val ourIdentity : Party
val ourIdentityAndCert : PartyAndCertificate
fun persistFlowStackSnapshot ( ) : Unit
open val progressTracker : ProgressTracker ?
inline fun < reified R : Any > receive ( otherParty : Party ) : UntrustworthyData < R >
open fun < R : Any > receive ( receiveType : Class < R > , otherParty : Party ) : UntrustworthyData < R >
open fun < R : Any > receiveAll ( receiveType : Class < R > , sessions : List < FlowSession > , maySkipCheckpoint : Boolean = false) : List < UntrustworthyData < R > >
open fun receiveAllMap ( sessions : Map < FlowSession , Class < out Any > > , maySkipCheckpoint : Boolean = false) : Map < FlowSession , UntrustworthyData < Any > >
fun recordAuditEvent ( eventType : String , : String , : Map < String , String > ) : Unit
val runId : StateMachineRunId
open fun send ( otherParty : Party , payload : Any ) : Unit
fun sendAll ( payload : Any , sessions : Set < FlowSession > , maySkipCheckpoint : Boolean = false) : Unit
fun sendAllMap ( payloadsPerSession : Map < FlowSession , Any > , maySkipCheckpoint : Boolean = false) : Unit
inline fun < reified R : Any > sendAndReceive ( otherParty : Party , payload : Any ) : UntrustworthyData < R >
open fun < R : Any > sendAndReceive ( receiveType : Class < R > , otherParty : Party , payload : Any ) : UntrustworthyData < R >
val serviceHub : ServiceHub
fun sleep ( duration : Duration , maySkipCheckpoint : Boolean = false) : Unit
open fun < R > subFlow ( subLogic : FlowLogic < R > ) : R
fun track ( ) : DataFeed < String , String > ?
fun trackStepsTree ( ) : DataFeed < List < <ERROR CLASS> < Int , String > > , List < <ERROR CLASS> < Int , String > > > ?
fun trackStepsTreeIndex ( ) : DataFeed < Int , Int > ?
fun waitForLedgerCommit ( hash : SecureHash , maySkipCheckpoint : Boolean = false) : SignedTransaction
fun waitForStateConsumption ( stateRefs : Set < StateRef > ) : Unit
@DoNotImplement interface FlowLogicRef
@DoNotImplement interface FlowLogicRefFactory
interface FlowProgressHandle < A > : FlowHandle < A >
data class FlowProgressHandleImpl < A > : FlowProgressHandle < A >
Module Contents
FlowProgressHandleImpl ( id : StateMachineRunId , returnValue : CordaFuture < A > , progress : <ERROR CLASS> < String > , stepsTreeIndexFeed : DataFeed < Int , Int > ? = null, stepsTreeFeed : DataFeed < List < <ERROR CLASS> < Int , String > > , List < <ERROR CLASS> < Int , String > > > ? = null)
fun close ( ) : Unit
fun copy ( id : StateMachineRunId , returnValue : CordaFuture < A > , progress : <ERROR CLASS> < String > ) : FlowProgressHandleImpl < A >
val id : StateMachineRunId
val progress : <ERROR CLASS> < String >
val returnValue : CordaFuture < A >
val stepsTreeFeed : DataFeed < List < <ERROR CLASS> < Int , String > > , List < <ERROR CLASS> < Int , String > > > ?
val stepsTreeIndexFeed : DataFeed < Int , Int > ?
@DoNotImplement abstract class FlowSession
data class FlowStackSnapshot
enum class Frequency
abstract class FullTransaction : BaseTransaction
interface FungibleAsset < T : Any > : FungibleState < Issued < T > > , OwnableState
interface FungibleState < T : Any > : ContractState
interface GenericQueryCriteria < Q : GenericQueryCriteria < Q , * > , in P : BaseQueryCriteriaParser < Q , * , * > >
Module Contents
interface ChainableQueryCriteria < Q : GenericQueryCriteria < Q , P > , in P : BaseQueryCriteriaParser < Q , P , * > >
Module Contents
interface AndVisitor < Q : GenericQueryCriteria < Q , P > , in P : BaseQueryCriteriaParser < Q , P , S > , in S : BaseSort > : GenericQueryCriteria < Q , P >
interface OrVisitor < Q : GenericQueryCriteria < Q , P > , in P : BaseQueryCriteriaParser < Q , P , S > , in S : BaseSort > : GenericQueryCriteria < Q , P >
abstract infix fun and ( criteria : Q ) : Q
abstract infix fun or ( criteria : Q ) : Q
abstract fun visit ( parser : P ) : Collection < <ERROR CLASS> >
class GracefulReconnect
data class HashAttachmentConstraint : AttachmentConstraint
open class HospitalizeFlowException : CordaRuntimeException
class HttpApi
object HttpUtils
@DoNotImplement interface IQueryCriteriaParser : BaseQueryCriteriaParser < QueryCriteria , IQueryCriteriaParser , Sort >
open class Id < out VALUE : Any >
@DoNotImplement interface IdentityService
class IllegalFlowLogicException : IllegalArgumentException
class InMemoryMessagingNetwork : SingletonSerializeAsToken
@DoNotImplement interface InProcess : NodeHandle
interface IndirectStatePersistable < T : DirectStatePersistable > : StatePersistable
@Target ( [AnnotationTarget.CLASS]) annotation class InitiatedBy
@Target ( [AnnotationTarget.CLASS]) @Inherited annotation class InitiatingFlow
class InsufficientBalanceException : FlowException
data class InvocationContext
Module Contents
InvocationContext ( origin : InvocationOrigin , trace : Trace , actor : Actor ? , externalTrace : Trace ? = null, impersonatedActor : Actor ? = null)
InvocationContext ( origin : InvocationOrigin , trace : Trace , actor : Actor ? , externalTrace : Trace ? = null, impersonatedActor : Actor ? = null, arguments : List < Any ? > ? = emptyList(), clientId : String ? = null)
val actor : Actor ?
val arguments : List < Any ? > ?
val clientId : String ?
fun copy ( origin : InvocationOrigin = this.origin, trace : Trace = this.trace, actor : Actor ? = this.actor, externalTrace : Trace ? = this.externalTrace, impersonatedActor : Actor ? = this.impersonatedActor) : InvocationContext
val externalTrace : Trace ?
val impersonatedActor : Actor ?
fun newInstance ( origin : InvocationOrigin , trace : Trace = Trace.newInstance(), actor : Actor ? = null, externalTrace : Trace ? = null, impersonatedActor : Actor ? = null, arguments : List < Any ? > = emptyList(), clientId : String ? = null) : InvocationContext
val origin : InvocationOrigin
fun peer ( party : CordaX500Name , trace : Trace = Trace.newInstance(), externalTrace : Trace ? = null, impersonatedActor : Actor ? = null) : InvocationContext
fun principal ( ) : Principal
fun rpc ( actor : Actor , trace : Trace = Trace.newInstance(), externalTrace : Trace ? = null, impersonatedActor : Actor ? = null, arguments : List < Any ? > = emptyList()) : InvocationContext
fun scheduled ( scheduledState : ScheduledStateRef , trace : Trace = Trace.newInstance(), externalTrace : Trace ? = null) : InvocationContext
fun service ( serviceClassName : String , owningLegalIdentity : CordaX500Name , trace : Trace = Trace.newInstance(), externalTrace : Trace ? = null) : InvocationContext
fun shell ( trace : Trace = Trace.newInstance(), externalTrace : Trace ? = null) : InvocationContext
val trace : Trace
sealed class InvocationOrigin
data class Issued < out P : Any >
object JacksonSupport
data class JmxPolicy
@Target ( [AnnotationTarget.FILE, AnnotationTarget.CLASS]) @CordaInternal annotation class KeepForDJVM
@DoNotImplement interface KeyManagementService
class KilledFlowException : CordaRuntimeException
class LedgerDSL < out T : TransactionDSLInterpreter , out L : LedgerDSLInterpreter < T > > : LedgerDSLInterpreter < TransactionDSLInterpreter >
@DoNotImplement interface LedgerDSLInterpreter < out T : TransactionDSLInterpreter > : Verifies , OutputStateLookup
class LedgerTransaction : FullTransaction
Module Contents
LedgerTransaction ( inputs : List < StateAndRef < ContractState > > , outputs : List < TransactionState < ContractState > > , commands : List < CommandWithParties < CommandData > > , attachments : List < Attachment > , id : SecureHash , notary : Party ? , timeWindow : TimeWindow ? , privacySalt : PrivacySalt )
LedgerTransaction ( inputs : List < StateAndRef < ContractState > > , outputs : List < TransactionState < ContractState > > , commands : List < CommandWithParties < CommandData > > , attachments : List < Attachment > , id : SecureHash , notary : Party ? , timeWindow : TimeWindow ? , privacySalt : PrivacySalt , networkParameters : NetworkParameters )
data class InOutGroup < out T : ContractState , out K : Any >
val attachments : List < Attachment >
val commands : List < CommandWithParties < CommandData > >
fun < T : CommandData > commandsOfType ( clazz : Class < T > ) : List < Command < T > >
inline fun < reified T : CommandData > commandsOfType ( ) : List < Command < T > >
operator fun component1 ( ) : List < StateAndRef < ContractState > >
operator fun component10 ( ) : List < StateAndRef < ContractState > >
operator fun component2 ( ) : List < TransactionState < ContractState > >
operator fun component3 ( ) : List < CommandWithParties < CommandData > >
operator fun component4 ( ) : List < Attachment >
operator fun component5 ( ) : SecureHash
operator fun component6 ( ) : Party ?
operator fun component7 ( ) : TimeWindow ?
operator fun component8 ( ) : PrivacySalt
operator fun component9 ( ) : NetworkParameters ?
fun copy ( inputs : List < StateAndRef < ContractState > > , outputs : List < TransactionState < ContractState > > , commands : List < CommandWithParties < CommandData > > , attachments : List < Attachment > , id : SecureHash , notary : Party ? , timeWindow : TimeWindow ? , privacySalt : PrivacySalt ) : LedgerTransaction
fun copy ( inputs : List < StateAndRef < ContractState > > = this.inputs, outputs : List < TransactionState < ContractState > > = this.outputs, commands : List < CommandWithParties < CommandData > > = this.commands, attachments : List < Attachment > = this.attachments, id : SecureHash = this.id, notary : Party ? = this.notary, timeWindow : TimeWindow ? = this.timeWindow, privacySalt : PrivacySalt = this.privacySalt, networkParameters : NetworkParameters ? = this.networkParameters) : LedgerTransaction
@CordaInternal fun createForSandbox ( inputs : List < StateAndRef < ContractState > > , outputs : List < TransactionState < ContractState > > , commands : List < CommandWithParties < CommandData > > , attachments : List < Attachment > , id : SecureHash , notary : Party ? , timeWindow : TimeWindow ? , privacySalt : PrivacySalt , networkParameters : NetworkParameters , references : List < StateAndRef < ContractState > > , digestService : DigestService ) : LedgerTransaction
val digestService : DigestService
fun equals ( other : Any ? ) : Boolean
fun < T : CommandData > filterCommands ( clazz : Class < T > , predicate : Predicate < T > ) : List < Command < T > >
inline fun < reified T : CommandData > filterCommands ( crossinline predicate : ( T ) -> Boolean ) : List < Command < T > >
fun < T : ContractState > filterInRefs ( clazz : Class < T > , predicate : Predicate < T > ) : List < StateAndRef < T > >
inline fun < reified T : ContractState > filterInRefs ( crossinline predicate : ( T ) -> Boolean ) : List < StateAndRef < T > >
fun < T : ContractState > filterInputs ( clazz : Class < T > , predicate : Predicate < T > ) : List < T >
inline fun < reified T : ContractState > filterInputs ( crossinline predicate : ( T ) -> Boolean ) : List < T >
fun < T : ContractState > filterReferenceInputRefs ( clazz : Class < T > , predicate : Predicate < T > ) : List < StateAndRef < T > >
inline fun < reified T : ContractState > filterReferenceInputRefs ( crossinline predicate : ( T ) -> Boolean ) : List < StateAndRef < T > >
fun < T : ContractState > filterReferenceInputs ( clazz : Class < T > , predicate : Predicate < T > ) : List < T >
inline fun < reified T : ContractState > filterReferenceInputs ( crossinline predicate : ( T ) -> Boolean ) : List < T >
fun < T : CommandData > findCommand ( clazz : Class < T > , predicate : Predicate < T > ) : Command < T >
inline fun < reified T : CommandData > findCommand ( crossinline predicate : ( T ) -> Boolean ) : Command < T >
fun < T : ContractState > findInRef ( clazz : Class < T > , predicate : Predicate < T > ) : StateAndRef < T >
inline fun < reified T : ContractState > findInRef ( crossinline predicate : ( T ) -> Boolean ) : StateAndRef < T >
fun < T : ContractState > findInput ( clazz : Class < T > , predicate : Predicate < T > ) : T
inline fun < reified T : ContractState > findInput ( crossinline predicate : ( T ) -> Boolean ) : T
fun < T : ContractState > findReference ( clazz : Class < T > , predicate : Predicate < T > ) : T
inline fun < reified T : ContractState > findReference ( crossinline predicate : ( T ) -> Boolean ) : T
fun < T : ContractState > findReferenceInputRef ( clazz : Class < T > , predicate : Predicate < T > ) : StateAndRef < T >
inline fun < reified T : ContractState > findReferenceInputRef ( crossinline predicate : ( T ) -> Boolean ) : StateAndRef < T >
fun getAttachment ( index : Int ) : Attachment
fun getAttachment ( id : SecureHash ) : Attachment
fun < T : CommandData > getCommand ( index : Int ) : Command < T >
fun getInput ( index : Int ) : ContractState
fun getReferenceInput ( index : Int ) : ContractState
fun < T : ContractState , K : Any > groupStates ( ofType : Class < T > , selector : ( T ) -> K ) : List < InOutGroup < T , K > >
inline fun < reified T : ContractState , K : Any > groupStates ( noinline selector : ( T ) -> K ) : List < InOutGroup < T , K > >
fun hashCode ( ) : Int
val id : SecureHash
fun < T : ContractState > inRef ( index : Int ) : StateAndRef < T >
fun < T : ContractState > inRefsOfType ( clazz : Class < T > ) : List < StateAndRef < T > >
inline fun < reified T : ContractState > inRefsOfType ( ) : List < StateAndRef < T > >
val inputStates : List < ContractState >
val inputs : List < StateAndRef < ContractState > >
fun < T : ContractState > inputsOfType ( clazz : Class < T > ) : List < T >
inline fun < reified T : ContractState > inputsOfType ( ) : List < T >
val networkParameters : NetworkParameters ?
val notary : Party ?
val outputs : List < TransactionState < ContractState > >
val privacySalt : PrivacySalt
fun < T : ContractState > referenceInputRefsOfType ( clazz : Class < T > ) : List < StateAndRef < T > >
inline fun < reified T : ContractState > referenceInputRefsOfType ( ) : List < StateAndRef < T > >
fun < T : ContractState > referenceInputsOfType ( clazz : Class < T > ) : List < T >
inline fun < reified T : ContractState > referenceInputsOfType ( ) : List < T >
val referenceStates : List < ContractState >
val references : List < StateAndRef < ContractState > >
@CordaInternal fun specialise ( alternateVerifier : ( LedgerTransaction , ClassLoader ) -> Verifier ) : LedgerTransaction
val timeWindow : TimeWindow ?
fun toString ( ) : String
@CordaInternal fun < T > transform ( transformer : ( List < ComponentGroup > , List < SerializedStateAndRef > , List < SerializedStateAndRef > ) -> T ) : T
fun verify ( ) : Unit
@Target ( [AnnotationTarget.CLASS]) annotation class LegalProseReference
enum class LikenessOperator : Operator
class LinearPointer < T : LinearState > : StatePointer < T >
interface LinearState : ContractState
open class MappedSchema
object MappedSchemaValidator
class MaxRpcRetryException : RPCException
class MaybeSerializedSignedTransaction : NamedByHash
sealed class MerkleTree
class MerkleTreeException : CordaException
interface MessageRecipientGroup : MessageRecipients
interface MessageRecipients
class MissingAttachmentsException : CordaException
class MissingAttachmentsRuntimeException : CordaRuntimeException
class MissingContractAttachments : FlowException
class MockAttachmentStorage : AttachmentStorage , SingletonSerializeAsToken
Module Contents
MockAttachmentStorage ( )
val files : Map < SecureHash , <ERROR CLASS> < Attachment , ByteArray > >
fun getAttachmentIdAndBytes ( jar : InputStream ) : <ERROR CLASS> < AttachmentId , ByteArray >
fun getLatestContractAttachments ( contractClassName : String , minContractVersion : Int ) : List < AttachmentId >
fun hasAttachment ( attachmentId : AttachmentId ) : Boolean
fun importAttachment ( jar : InputStream ) : AttachmentId
fun importAttachment ( jar : InputStream , uploader : String , filename : String ? ) : AttachmentId
fun importContractAttachment ( contractClassNames : List < ContractClassName > , uploader : String , jar : InputStream , attachmentId : AttachmentId ? = null, signers : List < PublicKey > = emptyList()) : AttachmentId
fun importContractAttachment ( attachmentId : AttachmentId , contractAttachment : ContractAttachment ) : Unit
fun importOrGetAttachment ( jar : InputStream ) : AttachmentId
fun openAttachment ( id : SecureHash ) : Attachment ?
fun queryAttachments ( criteria : AttachmentQueryCriteria , sorting : AttachmentSort ? ) : List < AttachmentId >
class MockNetFlowTimeOut
class MockNetNotaryConfig
open class MockNetwork
Module Contents
MockNetwork ( cordappPackages : List < String > , parameters : MockNetworkParameters = MockNetworkParameters())
MockNetwork ( parameters : MockNetworkParameters )
MockNetwork ( cordappPackages : List < String > , defaultParameters : MockNetworkParameters = MockNetworkParameters(), networkSendManuallyPumped : Boolean = defaultParameters.networkSendManuallyPumped, threadPerNode : Boolean = defaultParameters.threadPerNode, servicePeerAllocationStrategy : ServicePeerAllocationStrategy = defaultParameters.servicePeerAllocationStrategy, notarySpecs : List < MockNetworkNotarySpec > = defaultParameters.notarySpecs, networkParameters : NetworkParameters = defaultParameters.networkParameters)
fun baseDirectory ( nodeId : Int ) : Path
val cordappPackages : List < String >
fun createNode ( parameters : MockNodeParameters ) : StartedMockNode
fun createNode ( legalName : CordaX500Name ? = null, forcedID : Int ? = null, entropyRoot : BigInteger = BigInteger.valueOf(random63BitValue()), configOverrides : MockNodeConfigOverrides ? = null) : StartedMockNode
fun createPartyNode ( legalName : CordaX500Name ? = null) : StartedMockNode
fun createUnstartedNode ( parameters : MockNodeParameters = MockNodeParameters()) : UnstartedMockNode
fun createUnstartedNode ( legalName : CordaX500Name ? = null, forcedID : Int ? = null, entropyRoot : BigInteger = BigInteger.valueOf(random63BitValue()), configOverrides : MockNodeConfigOverrides ? = null) : UnstartedMockNode
val defaultNotaryIdentity : Party
val defaultNotaryNode : StartedMockNode
val defaultParameters : MockNetworkParameters
val networkParameters : NetworkParameters
val networkSendManuallyPumped : Boolean
val nextNodeId : Int
val notaryNodes : List < StartedMockNode >
val notarySpecs : List < MockNetworkNotarySpec >
fun runNetwork ( rounds : Int = -1) : Unit
val servicePeerAllocationStrategy : ServicePeerAllocationStrategy
fun startNodes ( ) : Unit
fun stopNodes ( ) : Unit
val threadPerNode : Boolean
fun waitQuiescent ( ) : Unit
data class MockNetworkNotarySpec
data class MockNetworkParameters
Module Contents
MockNetworkParameters ( networkSendManuallyPumped : Boolean , threadPerNode : Boolean , servicePeerAllocationStrategy : ServicePeerAllocationStrategy , notarySpecs : List < MockNetworkNotarySpec > , networkParameters : NetworkParameters )
MockNetworkParameters ( cordappsForAllNodes : Collection < TestCordapp > )
MockNetworkParameters ( networkSendManuallyPumped : Boolean = false, threadPerNode : Boolean = false, servicePeerAllocationStrategy : ServicePeerAllocationStrategy = InMemoryMessagingNetwork.ServicePeerAllocationStrategy.Random(), notarySpecs : List < MockNetworkNotarySpec > = listOf(MockNetworkNotarySpec(DUMMY_NOTARY_NAME)), networkParameters : NetworkParameters = testNetworkParameters(), cordappsForAllNodes : Collection < TestCordapp > = emptyList())
fun copy ( networkSendManuallyPumped : Boolean , threadPerNode : Boolean , servicePeerAllocationStrategy : ServicePeerAllocationStrategy , notarySpecs : List < MockNetworkNotarySpec > , networkParameters : NetworkParameters ) : MockNetworkParameters
val cordappsForAllNodes : Collection < TestCordapp >
val networkParameters : NetworkParameters
val networkSendManuallyPumped : Boolean
val notarySpecs : List < MockNetworkNotarySpec >
val servicePeerAllocationStrategy : ServicePeerAllocationStrategy
val threadPerNode : Boolean
fun withCordappsForAllNodes ( cordappsForAllNodes : Collection < TestCordapp > ) : MockNetworkParameters
fun withNetworkParameters ( networkParameters : NetworkParameters ) : MockNetworkParameters
fun withNetworkSendManuallyPumped ( networkSendManuallyPumped : Boolean ) : MockNetworkParameters
fun withNotarySpecs ( notarySpecs : List < MockNetworkNotarySpec > ) : MockNetworkParameters
fun withServicePeerAllocationStrategy ( servicePeerAllocationStrategy : ServicePeerAllocationStrategy ) : MockNetworkParameters
fun withThreadPerNode ( threadPerNode : Boolean ) : MockNetworkParameters
class MockNodeConfigOverrides
data class MockNodeParameters
Module Contents
MockNodeParameters ( forcedID : Int ? = null, legalName : CordaX500Name ? = null, entropyRoot : BigInteger = BigInteger.valueOf(random63BitValue()), configOverrides : MockNodeConfigOverrides )
MockNodeParameters ( forcedID : Int ? = null, legalName : CordaX500Name ? = null, entropyRoot : BigInteger = BigInteger.valueOf(random63BitValue()), configOverrides : MockNodeConfigOverrides ? = null, additionalCordapps : Collection < TestCordapp > = emptyList())
val additionalCordapps : Collection < TestCordapp >
val configOverrides : MockNodeConfigOverrides ?
fun copy ( forcedID : Int ? , legalName : CordaX500Name ? , entropyRoot : BigInteger , configOverrides : MockNodeConfigOverrides ) : MockNodeParameters
val entropyRoot : BigInteger
val forcedID : Int ?
val legalName : CordaX500Name ?
fun withAdditionalCordapps ( additionalCordapps : Collection < TestCordapp > ) : MockNodeParameters
fun withConfigOverrides ( configOverrides : MockNodeConfigOverrides ) : MockNodeParameters
fun withEntropyRoot ( entropyRoot : BigInteger ) : MockNodeParameters
fun withForcedID ( forcedID : Int ? ) : MockNodeParameters
fun withLegalName ( legalName : CordaX500Name ? ) : MockNodeParameters
open class MockServices : ServiceHub
Module Contents
MockServices ( cordappPackages : Iterable < String > , initialIdentity : <ERROR CLASS> , identityService : IdentityService = makeTestIdentityService(), vararg moreKeys : KeyPair )
MockServices ( cordappPackages : Iterable < String > , initialIdentity : <ERROR CLASS> , identityService : IdentityService , networkParameters : NetworkParameters , vararg moreKeys : KeyPair )
MockServices ( cordappPackages : Iterable < String > , initialIdentity : <ERROR CLASS> , identityService : IdentityService , networkParameters : NetworkParameters , vararg moreKeys : KeyPair , keyManagementService : KeyManagementService )
MockServices ( cordappPackages : Iterable < String > , initialIdentityName : CordaX500Name , identityService : IdentityService = makeTestIdentityService(), key : KeyPair , vararg moreKeys : KeyPair )
MockServices ( cordappPackages : Iterable < String > , initialIdentityName : CordaX500Name , identityService : IdentityService = makeTestIdentityService())
MockServices ( cordappPackages : Iterable < String > )
MockServices ( initialIdentityName : CordaX500Name , identityService : IdentityService = makeTestIdentityService(), key : KeyPair , vararg moreKeys : KeyPair )
MockServices ( initialIdentityName : CordaX500Name , identityService : IdentityService = makeTestIdentityService())
MockServices ( cordappPackages : List < String > , initialIdentityName : CordaX500Name , identityService : IdentityService , networkParameters : NetworkParameters )
MockServices ( cordappPackages : List < String > , initialIdentityName : CordaX500Name , identityService : IdentityService , networkParameters : NetworkParameters , key : KeyPair )
MockServices ( firstIdentity : <ERROR CLASS> , vararg moreIdentities : <ERROR CLASS> )
MockServices ( firstIdentity : <ERROR CLASS> , networkParameters : NetworkParameters , vararg moreIdentities : <ERROR CLASS> )
MockServices ( cordappPackages : List < String > , firstIdentity : <ERROR CLASS> , vararg moreIdentities : <ERROR CLASS> )
MockServices ( cordappPackages : List < String > , firstIdentity : <ERROR CLASS> , networkParameters : NetworkParameters , vararg moreIdentities : <ERROR CLASS> )
MockServices ( )
fun addMockCordapp ( contractClassName : ContractClassName ) : Unit
val attachments : MockAttachmentStorage
open val clock : TestClock
open val contractUpgradeService : ContractUpgradeService
open fun < T : SerializeAsToken > cordaService ( type : Class < T > ) : T
val cordappClassloader : ClassLoader
open val cordappProvider : CordappProvider
open val diagnosticsService : DiagnosticsService
open val identityService : IdentityService
open fun jdbcSession ( ) : Connection
open val keyManagementService : KeyManagementService
open fun loadContractAttachment ( stateRef : StateRef ) : <ERROR CLASS>
open fun loadState ( stateRef : StateRef ) : TransactionState < * >
open fun loadStates ( stateRefs : Set < StateRef > ) : Set < StateAndRef < ContractState > >
fun makeTestDataSourceProperties ( nodeName : String = SecureHash.randomSHA256().toString()) : Properties
fun makeTestDatabaseAndMockServices ( cordappPackages : List < String > , identityService : IdentityService , initialIdentity : <ERROR CLASS> , networkParameters : NetworkParameters = testNetworkParameters(modifiedTime = Instant.MIN), vararg moreKeys : KeyPair ) : <ERROR CLASS> < <ERROR CLASS> , MockServices >
fun makeTestDatabaseAndPersistentServices ( cordappPackages : List < String > , initialIdentity : <ERROR CLASS> , networkParameters : NetworkParameters = testNetworkParameters(modifiedTime = Instant.MIN), moreKeys : Set < KeyPair > , moreIdentities : Set < PartyAndCertificate > , cacheFactory : TestingNamedCacheFactory = TestingNamedCacheFactory()) : <ERROR CLASS> < <ERROR CLASS> , MockServices >
open val myInfo : NodeInfo
open val networkMapCache : NetworkMapCache
open val networkParameters : NetworkParameters
open var networkParametersService : NetworkParametersService
open fun recordTransactions ( statesToRecord : StatesToRecord , txs : Iterable < SignedTransaction > ) : Unit
open fun registerUnloadHandler ( runOnStop : ( ) -> Unit ) : Nothing
protected val servicesForResolution : ServicesForResolution
open val validatedTransactions : TransactionStorage
open val vaultService : VaultService
open fun < T > withEntityManager ( block : <ERROR CLASS> . ( ) -> T ) : T
open fun withEntityManager ( block : Consumer < <ERROR CLASS> > ) : Unit
interface MoveCommand : CommandData
class MultiRPCClient < I : RPCOps > : AutoCloseable
Module Contents
MultiRPCClient ( hostAndPort : NetworkHostAndPort , rpcOpsClass : Class < I > , username : String , password : String , configuration : CordaRPCClientConfiguration = CordaRPCClientConfiguration.DEFAULT)
MultiRPCClient ( hostAndPort : NetworkHostAndPort , rpcOpsClass : Class < I > , username : String , password : String , classLoader : ClassLoader , configuration : CordaRPCClientConfiguration = CordaRPCClientConfiguration.DEFAULT)
MultiRPCClient ( hostAndPort : NetworkHostAndPort , rpcOpsClass : Class < I > , username : String , password : String , sslConfiguration : ClientRpcSslOptions ? = null, classLoader : ClassLoader ? = null)
MultiRPCClient ( hostAndPort : NetworkHostAndPort , rpcOpsClass : Class < I > , username : String , password : String , configuration : CordaRPCClientConfiguration , sslConfiguration : ClientRpcSslOptions ? , classLoader : ClassLoader ? = null)
MultiRPCClient ( haAddressPool : List < NetworkHostAndPort > , rpcOpsClass : Class < I > , username : String , password : String , configuration : CordaRPCClientConfiguration = CordaRPCClientConfiguration.DEFAULT, sslConfiguration : ClientRpcSslOptions ? = null, classLoader : ClassLoader ? = null)
MultiRPCClient ( hostAndPort : NetworkHostAndPort , rpcOpsClass : Class < I > , username : String , password : String , customSerializers : Set < SerializationCustomSerializer < * , * > > ? , configuration : CordaRPCClientConfiguration = CordaRPCClientConfiguration.DEFAULT, sslConfiguration : ClientRpcSslOptions ? = null, classLoader : ClassLoader ? = null, externalTrace : Trace ? = null, impersonatedActor : Actor ? = null, targetLegalIdentity : CordaX500Name ? = null)
MultiRPCClient ( haAddressPool : List < NetworkHostAndPort > , rpcOpsClass : Class < I > , username : String , password : String , customSerializers : Set < SerializationCustomSerializer < * , * > > ? , configuration : CordaRPCClientConfiguration = CordaRPCClientConfiguration.DEFAULT, sslConfiguration : ClientRpcSslOptions ? = null, classLoader : ClassLoader ? = null, externalTrace : Trace ? = null, impersonatedActor : Actor ? = null, targetLegalIdentity : CordaX500Name ? = null)
fun addConnectionListener ( listener : RPCConnectionListener < I > ) : Boolean
fun close ( ) : Unit
fun removeConnectionListener ( listener : RPCConnectionListener < I > ) : Boolean
fun start ( ) : CompletableFuture < RPCConnection < I > >
fun stop ( ) : Unit
data class MultilateralNetState < P : Any > : NetState < P >
interface MultilateralNettableState < out T : Any >
interface NamedByHash
interface NetCommand : CommandData
interface NetState < P : Any >
enum class NetType
interface NettableState < N : BilateralNettableState < N > , out T : Any > : BilateralNettableState < N > , MultilateralNettableState < T >
data class NetworkHostAndPort
interface NetworkMapCache : NetworkMapCacheBase
@DoNotImplement interface NetworkMapCacheBase
data class NetworkParameters
Module Contents
NetworkParameters ( minimumPlatformVersion : Int , notaries : List < NotaryInfo > , maxMessageSize : Int , maxTransactionSize : Int , modifiedTime : Instant , epoch : Int , whitelistedContractImplementations : Map < String , List < AttachmentId > > )
NetworkParameters ( minimumPlatformVersion : Int , notaries : List < NotaryInfo > , maxMessageSize : Int , maxTransactionSize : Int , modifiedTime : Instant , epoch : Int , whitelistedContractImplementations : Map < String , List < AttachmentId > > , eventHorizon : Duration )
NetworkParameters ( minimumPlatformVersion : Int , notaries : List < NotaryInfo > , maxMessageSize : Int , maxTransactionSize : Int , modifiedTime : Instant , epoch : Int , whitelistedContractImplementations : Map < String , List < AttachmentId > > , eventHorizon : Duration , packageOwnership : Map < String , PublicKey > )
fun copy ( minimumPlatformVersion : Int = this.minimumPlatformVersion, notaries : List < NotaryInfo > = this.notaries, maxMessageSize : Int = this.maxMessageSize, maxTransactionSize : Int = this.maxTransactionSize, modifiedTime : Instant = this.modifiedTime, epoch : Int = this.epoch, whitelistedContractImplementations : Map < String , List < AttachmentId > > = this.whitelistedContractImplementations, eventHorizon : Duration = this.eventHorizon) : NetworkParameters
fun copy ( minimumPlatformVersion : Int = this.minimumPlatformVersion, notaries : List < NotaryInfo > = this.notaries, maxMessageSize : Int = this.maxMessageSize, maxTransactionSize : Int = this.maxTransactionSize, modifiedTime : Instant = this.modifiedTime, epoch : Int = this.epoch, whitelistedContractImplementations : Map < String , List < AttachmentId > > = this.whitelistedContractImplementations) : NetworkParameters
val epoch : Int
val eventHorizon : Duration
val maxMessageSize : Int
val maxTransactionSize : Int
val minimumPlatformVersion : Int
val modifiedTime : Instant
val notaries : List < NotaryInfo >
val packageOwnership : Map < String , PublicKey >
fun toString ( ) : String
val whitelistedContractImplementations : Map < String , List < AttachmentId > >
data class NetworkParametersHash
@DoNotImplement interface NetworkParametersService
@Target ( [AnnotationTarget.CLASS]) @Inherited annotation class NoConstraintPropagation
data class NodeDiagnosticInfo
@DoNotImplement interface NodeHandle : AutoCloseable
data class NodeInfo
data class NodeParameters
Module Contents
NodeParameters ( )
NodeParameters ( providedName : CordaX500Name ? , rpcUsers : List < User > , verifierType : VerifierType , customOverrides : Map < String , Any ? > , startInSameProcess : Boolean ? , maximumHeapSize : String )
NodeParameters ( providedName : CordaX500Name ? , rpcUsers : List < User > , verifierType : VerifierType , customOverrides : Map < String , Any ? > , startInSameProcess : Boolean ? , maximumHeapSize : String , additionalCordapps : Collection < TestCordapp > = emptySet(), flowOverrides : Map < out Class < out FlowLogic < * > > , Class < out FlowLogic < * > > > )
NodeParameters ( providedName : CordaX500Name ? = null, rpcUsers : List < User > = emptyList(), verifierType : VerifierType = VerifierType.InMemory, customOverrides : Map < String , Any ? > = emptyMap(), startInSameProcess : Boolean ? = null, maximumHeapSize : String = System.getenv("DRIVER_NODE_MEMORY") ?: "512m", additionalCordapps : Collection < TestCordapp > = emptySet(), flowOverrides : Map < out Class < out FlowLogic < * > > , Class < out FlowLogic < * > > > = emptyMap(), logLevelOverride : String ? = null, rpcAddress : NetworkHostAndPort ? = null)
val additionalCordapps : Collection < TestCordapp >
fun copy ( providedName : CordaX500Name ? , rpcUsers : List < User > , verifierType : VerifierType , customOverrides : Map < String , Any ? > , startInSameProcess : Boolean ? , maximumHeapSize : String ) : NodeParameters
fun copy ( providedName : CordaX500Name ? , rpcUsers : List < User > , verifierType : VerifierType , customOverrides : Map < String , Any ? > , startInSameProcess : Boolean ? , maximumHeapSize : String , additionalCordapps : Collection < TestCordapp > = emptySet(), flowOverrides : Map < out Class < out FlowLogic < * > > , Class < out FlowLogic < * > > > ) : NodeParameters
val customOverrides : Map < String , Any ? >
val flowOverrides : Map < out Class < out FlowLogic < * > > , Class < out FlowLogic < * > > >
val logLevelOverride : String ?
val maximumHeapSize : String
val providedName : CordaX500Name ?
val rpcAddress : NetworkHostAndPort ?
val rpcUsers : List < User >
val startInSameProcess : Boolean ?
val verifierType : VerifierType
fun withAdditionalCordapps ( additionalCordapps : Set < TestCordapp > ) : NodeParameters
fun withCustomOverrides ( customOverrides : Map < String , Any ? > ) : NodeParameters
fun withFlowOverrides ( flowOverrides : Map < Class < out FlowLogic < * > > , Class < out FlowLogic < * > > > ) : NodeParameters
fun withLogLevelOverride ( logLevelOverride : String ? ) : NodeParameters
fun withMaximumHeapSize ( maximumHeapSize : String ) : NodeParameters
fun withProvidedName ( providedName : CordaX500Name ? ) : NodeParameters
fun withRpcUsers ( rpcUsers : List < User > ) : NodeParameters
fun withStartInSameProcess ( startInSameProcess : Boolean ? ) : NodeParameters
fun withVerifierType ( verifierType : VerifierType ) : NodeParameters
data class NodeVersionInfo
class NonEmptySet < T > : Set < T >
data class NotarisationPayload
class NotarisationRequest
data class NotarisationRequestSignature
data class NotarisationResponse
@InitiatingFlow class NotaryChangeFlow < out T : ContractState > : Instigator < T , T , Party >
class NotaryChangeLedgerTransaction : FullTransaction , TransactionWithSignatures
data class NotaryChangeWireTransaction : CoreTransaction
sealed class NotaryError
class NotaryException : FlowException
class NotaryFlow
data class NotaryHandle
data class NotaryInfo
data class NotarySpec
Module Contents
NotarySpec ( name : CordaX500Name , validating : Boolean = true, rpcUsers : List < User > = emptyList(), verifierType : VerifierType = VerifierType.InMemory, cluster : ClusterSpec ? = null)
NotarySpec ( name : CordaX500Name , validating : Boolean = true, rpcUsers : List < User > = emptyList(), verifierType : VerifierType = VerifierType.InMemory, cluster : ClusterSpec ? = null, maximumHeapSize : String )
NotarySpec ( name : CordaX500Name , validating : Boolean = true, rpcUsers : List < User > = emptyList(), verifierType : VerifierType = VerifierType.InMemory, cluster : ClusterSpec ? = null, maximumHeapSize : String = "512m", startInProcess : Boolean = true)
NotarySpec ( name : CordaX500Name , validating : Boolean = true, rpcUsers : List < User > = emptyList(), verifierType : VerifierType = VerifierType.InMemory, cluster : ClusterSpec ? = null, startInProcess : Boolean = true)
val cluster : ClusterSpec ?
fun copy ( name : CordaX500Name , validating : Boolean = true, rpcUsers : List < User > = emptyList(), verifierType : VerifierType = VerifierType.InMemory, cluster : ClusterSpec ? = null) : NotarySpec
var maximumHeapSize : String
val name : CordaX500Name
val rpcUsers : List < User >
val startInProcess : Boolean
val validating : Boolean
val verifierType : VerifierType
object NullKeys
enum class NullOperator : Operator
data class ObjectWithCompatibleContext < out T : Any >
class Obligation < P : Any > : Contract
object ObligationUtils
Module Contents
fun generateCashIssue ( tx : TransactionBuilder , obligor : AbstractParty , acceptableContract : SecureHash , amount : Amount < Issued < Currency > > , dueBefore : Instant , beneficiary : AbstractParty , notary : Party ) : Unit
fun < P : Any > generateCloseOutNetting ( tx : TransactionBuilder , signer : AbstractParty , vararg inputs : StateAndRef < State < P > > ) : Unit
fun < P : Any > generateExit ( tx : TransactionBuilder , amountIssued : Amount < Issued < Terms < P > > > , assetStates : List < StateAndRef < State < P > > > ) : Set < PublicKey >
fun < P : Any > generateIssue ( tx : TransactionBuilder , obligor : AbstractParty , issuanceDef : Terms < P > , pennies : Long , beneficiary : AbstractParty , notary : Party ) : Set < PublicKey >
fun < P : Any > generatePaymentNetting ( tx : TransactionBuilder , issued : Issued < Terms < P > > , notary : Party , vararg inputs : StateAndRef < State < P > > ) : Unit
fun < P : Any > generateSetLifecycle ( tx : TransactionBuilder , statesAndRefs : List < StateAndRef < State < P > > > , lifecycle : Lifecycle , notary : Party ) : Unit
fun < P : Any > generateSettle ( tx : TransactionBuilder , statesAndRefs : Iterable < StateAndRef < State < P > > > , assetStatesAndRefs : Iterable < StateAndRef < FungibleAsset < P > > > , moveCommand : MoveCommand , notary : Party ) : Unit
abstract class OnLedgerAsset < T : Any , out C : CommandData , S : FungibleAsset < T > > : Contract
Module Contents
OnLedgerAsset ( )
abstract fun deriveState ( txState : TransactionState < S > , amount : Amount < Issued < T > > , owner : AbstractParty ) : TransactionState < S >
abstract fun extractCommands ( commands : Collection < CommandWithParties < CommandData > > ) : Collection < CommandWithParties < C > >
fun generateExit ( tx : TransactionBuilder , amountIssued : Amount < Issued < T > > , assetStates : List < StateAndRef < S > > ) : Set < PublicKey >
fun generateExit ( tx : TransactionBuilder , amountIssued : Amount < Issued < T > > , assetStates : List < StateAndRef < S > > , payChangeTo : AbstractParty ) : Set < PublicKey >
fun < S : FungibleAsset < T > , T : Any > generateExit ( tx : TransactionBuilder , amountIssued : Amount < Issued < T > > , assetStates : List < StateAndRef < S > > , deriveState : ( TransactionState < S > , Amount < Issued < T > > , AbstractParty ) -> TransactionState < S > , generateMoveCommand : ( ) -> CommandData , generateExitCommand : ( Amount < Issued < T > > ) -> CommandData ) : Set < PublicKey >
fun < S : FungibleAsset < T > , T : Any > generateExit ( tx : TransactionBuilder , amountIssued : Amount < Issued < T > > , assetStates : List < StateAndRef < S > > , payChangeTo : AbstractParty , deriveState : ( TransactionState < S > , Amount < Issued < T > > , AbstractParty ) -> TransactionState < S > , generateMoveCommand : ( ) -> CommandData , generateExitCommand : ( Amount < Issued < T > > ) -> CommandData ) : Set < PublicKey >
abstract fun generateExitCommand ( amount : Amount < Issued < T > > ) : CommandData
fun < S : FungibleAsset < T > , T : Any > generateIssue ( tx : TransactionBuilder , transactionState : TransactionState < S > , issueCommand : CommandData ) : Set < PublicKey >
abstract fun generateMoveCommand ( ) : MoveCommand
fun < S : FungibleAsset < T > , T : Any > generateSpend ( tx : TransactionBuilder , amount : Amount < T > , to : AbstractParty , acceptableStates : List < StateAndRef < S > > , payChangeTo : AbstractParty , deriveState : ( TransactionState < S > , Amount < Issued < T > > , AbstractParty ) -> TransactionState < S > , generateMoveCommand : ( ) -> CommandData ) : <ERROR CLASS> < TransactionBuilder , List < PublicKey > >
fun < S : FungibleAsset < T > , T : Any > generateSpend ( tx : TransactionBuilder , payments : List < PartyAndAmount < T > > , acceptableStates : List < StateAndRef < S > > , payChangeTo : AbstractParty , deriveState : ( TransactionState < S > , Amount < Issued < T > > , AbstractParty ) -> TransactionState < S > , generateMoveCommand : ( ) -> CommandData ) : <ERROR CLASS> < TransactionBuilder , List < PublicKey > >
open class OpaqueBytes : ByteSequence
class OpaqueBytesSubSequence : ByteSequence
@DoNotImplement interface Operator
@DoNotImplement interface OutOfProcess : NodeHandle
@DoNotImplement interface OutputStateLookup
interface OwnableState : ContractState
data class PageSpecification
data class ParametersUpdateInfo
class PartialMerkleTree
class Party : Destination , AbstractParty
data class PartyAndAmount < T : Any >
class PartyAndCertificate
data class PartyAndReference
sealed class PartyInfo
enum class PaymentRule
class PermissionException : CordaRuntimeException , ClientRelevantError
class PersistentState : DirectStatePersistable
data class PersistentStateRef : Serializable
@DoNotImplement abstract class PortAllocation
class PrivacySalt : OpaqueBytes
class ProgressTracker
interface PropertyDelegate < out T >
sealed class QueryCriteria : GenericQueryCriteria < QueryCriteria , IQueryCriteriaParser > , ChainableQueryCriteria < QueryCriteria , IQueryCriteriaParser >
Module Contents
class AndComposition : QueryCriteria , AndVisitor < QueryCriteria , IQueryCriteriaParser , Sort >
abstract class CommonQueryCriteria : QueryCriteria
data class FungibleAssetQueryCriteria : CommonQueryCriteria
Module Contents
FungibleAssetQueryCriteria ( participants : List < AbstractParty > ? = null, owner : List < AbstractParty > ? = null, quantity : ColumnPredicate < Long > ? = null, issuer : List < AbstractParty > ? = null, issuerRef : List < OpaqueBytes > ? = null, status : StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes : Set < Class < out ContractState > > ? = null, relevancyStatus : RelevancyStatus )
FungibleAssetQueryCriteria ( participants : List < AbstractParty > ? = null, owner : List < AbstractParty > ? = null, quantity : ColumnPredicate < Long > ? = null, issuer : List < AbstractParty > ? = null, issuerRef : List < OpaqueBytes > ? = null, status : StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes : Set < Class < out ContractState > > ? = null)
FungibleAssetQueryCriteria ( participants : List < AbstractParty > ? = null, owner : List < AbstractParty > ? = null, quantity : ColumnPredicate < Long > ? = null, issuer : List < AbstractParty > ? = null, issuerRef : List < OpaqueBytes > ? = null, status : StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes : Set < Class < out ContractState > > ? = null, relevancyStatus : RelevancyStatus , exactParticipants : List < AbstractParty > ? = null)
val contractStateTypes : Set < Class < out ContractState > > ?
fun copy ( participants : List < AbstractParty > ? = this.participants, owner : List < AbstractParty > ? = this.owner, quantity : ColumnPredicate < Long > ? = this.quantity, issuer : List < AbstractParty > ? = this.issuer, issuerRef : List < OpaqueBytes > ? = this.issuerRef, status : StateStatus = this.status, contractStateTypes : Set < Class < out ContractState > > ? = this.contractStateTypes, relevancyStatus : RelevancyStatus = this.relevancyStatus) : FungibleAssetQueryCriteria
fun copy ( participants : List < AbstractParty > ? = this.participants, owner : List < AbstractParty > ? = this.owner, quantity : ColumnPredicate < Long > ? = this.quantity, issuer : List < AbstractParty > ? = this.issuer, issuerRef : List < OpaqueBytes > ? = this.issuerRef, status : StateStatus = this.status, contractStateTypes : Set < Class < out ContractState > > ? = this.contractStateTypes) : FungibleAssetQueryCriteria
val exactParticipants : List < AbstractParty > ?
val issuer : List < AbstractParty > ?
val issuerRef : List < OpaqueBytes > ?
val owner : List < AbstractParty > ?
val participants : List < AbstractParty > ?
val quantity : ColumnPredicate < Long > ?
val relevancyStatus : RelevancyStatus
val status : StateStatus
fun visit ( parser : IQueryCriteriaParser ) : Collection < <ERROR CLASS> >
fun withContractStateTypes ( contractStateTypes : Set < Class < out ContractState > > ) : FungibleAssetQueryCriteria
fun withExactParticipants ( exactParticipants : List < AbstractParty > ) : FungibleAssetQueryCriteria
fun withIssuer ( issuer : List < AbstractParty > ) : FungibleAssetQueryCriteria
fun withOwner ( owner : List < AbstractParty > ) : FungibleAssetQueryCriteria
fun withParticipants ( participants : List < AbstractParty > ) : FungibleAssetQueryCriteria
fun withQuantity ( quantity : ColumnPredicate < Long > ) : FungibleAssetQueryCriteria
fun withRelevancyStatus ( relevancyStatus : RelevancyStatus ) : FungibleAssetQueryCriteria
fun withStatus ( status : StateStatus ) : FungibleAssetQueryCriteria
fun withissuerRef ( issuerRef : List < OpaqueBytes > ) : FungibleAssetQueryCriteria
data class FungibleStateQueryCriteria : CommonQueryCriteria
data class LinearStateQueryCriteria : CommonQueryCriteria
Module Contents
LinearStateQueryCriteria ( participants : List < AbstractParty > ? = null, uuid : List < UUID > ? = null, externalId : List < String > ? = null, status : StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes : Set < Class < out ContractState > > ? = null, relevancyStatus : RelevancyStatus = Vault.RelevancyStatus.ALL)
LinearStateQueryCriteria ( participants : List < AbstractParty > ? = null, uuid : List < UUID > ? = null, externalId : List < String > ? = null, status : StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes : Set < Class < out ContractState > > ? = null)
LinearStateQueryCriteria ( participants : List < AbstractParty > ? = null, linearId : List < UniqueIdentifier > ? = null, status : StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes : Set < Class < out ContractState > > ? = null, relevancyStatus : RelevancyStatus = Vault.RelevancyStatus.ALL)
LinearStateQueryCriteria ( participants : List < AbstractParty > ? = null, linearId : List < UniqueIdentifier > ? = null, status : StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes : Set < Class < out ContractState > > ? = null)
LinearStateQueryCriteria ( participants : List < AbstractParty > ? = null, uuid : List < UUID > ? = null, externalId : List < String > ? = null, status : StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes : Set < Class < out ContractState > > ? = null, relevancyStatus : RelevancyStatus = Vault.RelevancyStatus.ALL, exactParticipants : List < AbstractParty > ? )
val contractStateTypes : Set < Class < out ContractState > > ?
fun copy ( participants : List < AbstractParty > ? = this.participants, uuid : List < UUID > ? = this.uuid, externalId : List < String > ? = this.externalId, status : StateStatus = this.status, contractStateTypes : Set < Class < out ContractState > > ? = this.contractStateTypes) : LinearStateQueryCriteria
fun copy ( participants : List < AbstractParty > ? = this.participants, uuid : List < UUID > ? = this.uuid, externalId : List < String > ? = this.externalId, status : StateStatus = this.status, contractStateTypes : Set < Class < out ContractState > > ? = this.contractStateTypes, relevancyStatus : RelevancyStatus = this.relevancyStatus) : LinearStateQueryCriteria
val exactParticipants : List < AbstractParty > ?
val externalId : List < String > ?
val participants : List < AbstractParty > ?
val relevancyStatus : RelevancyStatus
val status : StateStatus
val uuid : List < UUID > ?
fun visit ( parser : IQueryCriteriaParser ) : Collection < <ERROR CLASS> >
fun withContractStateTypes ( contractStateTypes : Set < Class < out ContractState > > ) : LinearStateQueryCriteria
fun withExactParticipants ( exactParticipants : List < AbstractParty > ) : LinearStateQueryCriteria
fun withExternalId ( externalId : List < String > ) : LinearStateQueryCriteria
fun withParticipants ( participants : List < AbstractParty > ) : LinearStateQueryCriteria
fun withRelevancyStatus ( relevancyStatus : RelevancyStatus ) : LinearStateQueryCriteria
fun withStatus ( status : StateStatus ) : LinearStateQueryCriteria
fun withUuid ( uuid : List < UUID > ) : LinearStateQueryCriteria
class OrComposition : QueryCriteria , OrVisitor < QueryCriteria , IQueryCriteriaParser , Sort >
data class SoftLockingCondition
enum class SoftLockingType
data class TimeCondition
enum class TimeInstantType
data class VaultCustomQueryCriteria < L : StatePersistable > : CommonQueryCriteria
Module Contents
VaultCustomQueryCriteria ( expression : CriteriaExpression < L , Boolean > , status : StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes : Set < Class < out ContractState > > ? = null)
VaultCustomQueryCriteria ( expression : CriteriaExpression < L , Boolean > , status : StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes : Set < Class < out ContractState > > ? = null, relevancyStatus : RelevancyStatus = Vault.RelevancyStatus.ALL)
val contractStateTypes : Set < Class < out ContractState > > ?
fun copy ( expression : CriteriaExpression < L , Boolean > = this.expression, status : StateStatus = this.status, contractStateTypes : Set < Class < out ContractState > > ? = this.contractStateTypes) : VaultCustomQueryCriteria < L >
val expression : CriteriaExpression < L , Boolean >
val relevancyStatus : RelevancyStatus
val status : StateStatus
fun visit ( parser : IQueryCriteriaParser ) : Collection < <ERROR CLASS> >
fun withContractStateTypes ( contractStateTypes : Set < Class < out ContractState > > ) : VaultCustomQueryCriteria < L >
fun withExpression ( expression : CriteriaExpression < L , Boolean > ) : VaultCustomQueryCriteria < L >
fun withRelevancyStatus ( relevancyStatus : RelevancyStatus ) : VaultCustomQueryCriteria < L >
fun withStatus ( status : StateStatus ) : VaultCustomQueryCriteria < L >
data class VaultQueryCriteria : CommonQueryCriteria
Module Contents
VaultQueryCriteria ( status : StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes : Set < Class < out ContractState > > ? = null, stateRefs : List < StateRef > ? = null, notary : List < AbstractParty > ? = null, softLockingCondition : SoftLockingCondition ? = null, timeCondition : TimeCondition ? = null, relevancyStatus : RelevancyStatus = Vault.RelevancyStatus.ALL, constraintTypes : Set < Type > = emptySet(), constraints : Set < ConstraintInfo > = emptySet(), participants : List < AbstractParty > ? = null, externalIds : List < UUID > = emptyList())
VaultQueryCriteria ( status : StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes : Set < Class < out ContractState > > ? = null, stateRefs : List < StateRef > ? = null, notary : List < AbstractParty > ? = null, softLockingCondition : SoftLockingCondition ? = null, timeCondition : TimeCondition ? = null, relevancyStatus : RelevancyStatus = Vault.RelevancyStatus.ALL, constraintTypes : Set < Type > = emptySet(), constraints : Set < ConstraintInfo > = emptySet(), participants : List < AbstractParty > ? = null)
VaultQueryCriteria ( status : StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes : Set < Class < out ContractState > > ? = null, stateRefs : List < StateRef > ? = null, notary : List < AbstractParty > ? = null, softLockingCondition : SoftLockingCondition ? = null, timeCondition : TimeCondition ? = null)
VaultQueryCriteria ( status : StateStatus )
VaultQueryCriteria ( status : StateStatus , contractStateTypes : Set < Class < out ContractState > > ? )
VaultQueryCriteria ( status : StateStatus , contractStateTypes : Set < Class < out ContractState > > ? , stateRefs : List < StateRef > ? )
VaultQueryCriteria ( status : StateStatus , contractStateTypes : Set < Class < out ContractState > > ? , stateRefs : List < StateRef > ? , notary : List < AbstractParty > ? )
VaultQueryCriteria ( status : StateStatus , contractStateTypes : Set < Class < out ContractState > > ? , stateRefs : List < StateRef > ? , notary : List < AbstractParty > ? , softLockingCondition : SoftLockingCondition ? )
VaultQueryCriteria ( status : StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes : Set < Class < out ContractState > > ? = null, stateRefs : List < StateRef > ? = null, notary : List < AbstractParty > ? = null, softLockingCondition : SoftLockingCondition ? = null, timeCondition : TimeCondition ? = null, relevancyStatus : RelevancyStatus = Vault.RelevancyStatus.ALL, constraintTypes : Set < Type > = emptySet(), constraints : Set < ConstraintInfo > = emptySet(), participants : List < AbstractParty > ? = null, externalIds : List < UUID > = emptyList(), exactParticipants : List < AbstractParty > ? = null)
val constraintTypes : Set < Type >
val constraints : Set < ConstraintInfo >
val contractStateTypes : Set < Class < out ContractState > > ?
fun copy ( status : StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes : Set < Class < out ContractState > > ? = null, stateRefs : List < StateRef > ? = null, notary : List < AbstractParty > ? = null, softLockingCondition : SoftLockingCondition ? = null, timeCondition : TimeCondition ? = null, relevancyStatus : RelevancyStatus = Vault.RelevancyStatus.ALL, constraintTypes : Set < Type > = emptySet(), constraints : Set < ConstraintInfo > = emptySet(), participants : List < AbstractParty > ? = null, externalIds : List < UUID > = emptyList()) : VaultQueryCriteria
fun copy ( status : StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes : Set < Class < out ContractState > > ? = null, stateRefs : List < StateRef > ? = null, notary : List < AbstractParty > ? = null, softLockingCondition : SoftLockingCondition ? = null, timeCondition : TimeCondition ? = null, relevancyStatus : RelevancyStatus = Vault.RelevancyStatus.ALL, constraintTypes : Set < Type > = emptySet(), constraints : Set < ConstraintInfo > = emptySet(), participants : List < AbstractParty > ? = null) : VaultQueryCriteria
fun copy ( status : StateStatus = this.status, contractStateTypes : Set < Class < out ContractState > > ? = this.contractStateTypes, stateRefs : List < StateRef > ? = this.stateRefs, notary : List < AbstractParty > ? = this.notary, softLockingCondition : SoftLockingCondition ? = this.softLockingCondition, timeCondition : TimeCondition ? = this.timeCondition) : VaultQueryCriteria
val exactParticipants : List < AbstractParty > ?
val externalIds : List < UUID >
val notary : List < AbstractParty > ?
val participants : List < AbstractParty > ?
val relevancyStatus : RelevancyStatus
val softLockingCondition : SoftLockingCondition ?
val stateRefs : List < StateRef > ?
val status : StateStatus
val timeCondition : TimeCondition ?
fun visit ( parser : IQueryCriteriaParser ) : Collection < <ERROR CLASS> >
fun withConstraintTypes ( constraintTypes : Set < Type > ) : VaultQueryCriteria
fun withConstraints ( constraints : Set < ConstraintInfo > ) : VaultQueryCriteria
fun withContractStateTypes ( contractStateTypes : Set < Class < out ContractState > > ) : VaultQueryCriteria
fun withExactParticipants ( exactParticipants : List < AbstractParty > ) : VaultQueryCriteria
fun withExternalIds ( externalIds : List < UUID > ) : VaultQueryCriteria
fun withNotary ( notary : List < AbstractParty > ) : VaultQueryCriteria
fun withParticipants ( participants : List < AbstractParty > ) : VaultQueryCriteria
fun withRelevancyStatus ( relevancyStatus : RelevancyStatus ) : VaultQueryCriteria
fun withSoftLockingCondition ( softLockingCondition : SoftLockingCondition ) : VaultQueryCriteria
fun withStateRefs ( stateRefs : List < StateRef > ) : VaultQueryCriteria
fun withStatus ( status : StateStatus ) : VaultQueryCriteria
fun withTimeCondition ( timeCondition : TimeCondition ) : VaultQueryCriteria
open fun and ( criteria : QueryCriteria ) : QueryCriteria
open fun or ( criteria : QueryCriteria ) : QueryCriteria
interface QueryableState : ContractState
@DoNotImplement interface RPCConnection < out I : RPCOps > : Closeable
interface RPCConnectionListener < I : RPCOps >
open class RPCException : CordaRuntimeException
@DoNotImplement interface RPCOps
@Target ( [AnnotationTarget.FUNCTION]) annotation class RPCReturnsObservables
@Target ( [AnnotationTarget.FUNCTION]) annotation class RPCSinceVersion
class ReceiveFinalityFlow : FlowLogic < SignedTransaction >
class ReceiveStateAndRefFlow < out T : ContractState > : FlowLogic < List < StateAndRef < T > > >
open class ReceiveTransactionFlow : FlowLogic < SignedTransaction >
data class ReferenceStateRef
data class ReferencedStateAndRef < out T : ContractState >
object Requirements
class ResultSerializationException : CordaRuntimeException
object SampleCashSchemaV1 : MappedSchema
object SampleCashSchemaV2 : MappedSchema
object SampleCashSchemaV3 : MappedSchema
@Target ( [AnnotationTarget.CLASS]) @Inherited annotation class SchedulableFlow
interface SchedulableState : ContractState
interface Scheduled
data class ScheduledActivity : Scheduled
data class ScheduledStateRef : Scheduled
sealed class SecureHash : OpaqueBytes
open class SendStateAndRefFlow : DataVendingFlow
open class SendTransactionFlow : DataVendingFlow
@Target ( [AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.FUNCTION]) annotation class SerializableCalculatedProperty
@DoNotImplement interface SerializationContext
interface SerializationCustomSerializer < OBJ , PROXY >
object SerializationDefaults
@DoNotImplement interface SerializationEncoding
abstract class SerializationFactory
typealias SerializationMagic = ByteSequence
@DoNotImplement interface SerializationSchemeContext
interface SerializationToken
interface SerializationWhitelist
interface SerializeAsToken
interface SerializeAsTokenContext
class SerializedBytes < T : Any > : OpaqueBytes
interface ServiceHub : ServicesForResolution
Module Contents
open fun addSignature ( signedTransaction : SignedTransaction , publicKey : PublicKey ) : SignedTransaction
open fun addSignature ( signedTransaction : SignedTransaction ) : SignedTransaction
abstract val clock : Clock
abstract val contractUpgradeService : ContractUpgradeService
abstract fun < T : SerializeAsToken > cordaService ( type : Class < T > ) : T
open fun createSignature ( signedTransaction : SignedTransaction , publicKey : PublicKey ) : TransactionSignature
open fun createSignature ( signedTransaction : SignedTransaction ) : TransactionSignature
open fun createSignature ( filteredTransaction : FilteredTransaction , publicKey : PublicKey ) : TransactionSignature
open fun createSignature ( filteredTransaction : FilteredTransaction ) : TransactionSignature
abstract val diagnosticsService : DiagnosticsService
open fun getAppContext ( ) : CordappContext
abstract fun jdbcSession ( ) : Connection
abstract val keyManagementService : KeyManagementService
abstract val myInfo : NodeInfo
abstract val networkMapCache : NetworkMapCache
open fun recordTransactions ( notifyVault : Boolean , txs : Iterable < SignedTransaction > ) : Unit
open fun recordTransactions ( notifyVault : Boolean , first : SignedTransaction , vararg remaining : SignedTransaction ) : Unit
abstract fun recordTransactions ( statesToRecord : StatesToRecord , txs : Iterable < SignedTransaction > ) : Unit
open fun recordTransactions ( first : SignedTransaction , vararg remaining : SignedTransaction ) : Unit
open fun recordTransactions ( txs : Iterable < SignedTransaction > ) : Unit
abstract fun registerUnloadHandler ( runOnStop : ( ) -> Unit ) : Unit
open fun signInitialTransaction ( builder : TransactionBuilder , publicKey : PublicKey ) : SignedTransaction
open fun signInitialTransaction ( builder : TransactionBuilder ) : SignedTransaction
open fun signInitialTransaction ( builder : TransactionBuilder , signingPubKeys : Iterable < PublicKey > ) : SignedTransaction
open fun < T : ContractState > toStateAndRef ( stateRef : StateRef ) : StateAndRef < T >
abstract val validatedTransactions : TransactionStorage
abstract val vaultService : VaultService
abstract fun < T > withEntityManager ( block : <ERROR CLASS> . ( ) -> T ) : T
abstract fun withEntityManager ( block : Consumer < <ERROR CLASS> > ) : Unit
enum class ServiceLifecycleEvent
@FunctionalInterface interface ServiceLifecycleObserver
@DoNotImplement interface ServicesForResolution
@DoNotImplement interface SessionScope
object SgxSupport
abstract class SignTransactionFlow : FlowLogic < SignedTransaction >
data class SignableData
data class SignatureAttachmentConstraint : AttachmentConstraint
data class SignatureMetadata
data class SignatureScheme
open class SignedData < T : Any >
data class SignedTransaction : TransactionWithSignatures
interface SingleMessageRecipient : MessageRecipients
class SingletonSerializationToken : SerializationToken
abstract class SingletonSerializeAsToken : SerializeAsToken
data class Sort : BaseSort
sealed class SortAttribute
data class SourceAndAmount < T : Any , out P : Any >
data class StackFrameDataToken
@Target ( [AnnotationTarget.CLASS]) annotation class StartableByRPC
@Target ( [AnnotationTarget.CLASS]) annotation class StartableByService
class StartedMockNode
data class StateAndContract
data class StateAndRef < out T : ContractState >
data class StateConsumptionDetails
data class StateMachineInfo
Module Contents
StateMachineInfo ( id : StateMachineRunId , flowLogicClassName : String , initiator : FlowInitiator , progressTrackerStepAndUpdates : DataFeed < String , String > ? , invocationContext : InvocationContext = initiator.invocationContext)
fun copy ( id : StateMachineRunId = this.id, flowLogicClassName : String = this.flowLogicClassName, initiator : FlowInitiator = this.initiator, progressTrackerStepAndUpdates : DataFeed < String , String > ? = this.progressTrackerStepAndUpdates) : StateMachineInfo
val flowLogicClassName : String
val id : StateMachineRunId
val initiator : FlowInitiator
val invocationContext : InvocationContext
val progressTrackerStepAndUpdates : DataFeed < String , String > ?
fun toString ( ) : String
data class StateMachineRunId
data class StateMachineTransactionMapping
sealed class StateMachineUpdate
interface StatePersistable
@DoNotImplement sealed class StatePointer < T : ContractState >
data class StateRef
open class StateReplacementException : FlowException
class StatesNotAvailableException : FlowException
enum class StatesToRecord
class StaticPointer < T : ContractState > : StatePointer < T >
open class StringToMethodCallParser < in T : Any >
Module Contents
StringToMethodCallParser ( targetType : KClass < out T > )
StringToMethodCallParser ( targetType : Class < out T > , om : <ERROR CLASS> = JacksonSupport.createNonRpcMapper(YAMLFactory()))
inner class ParsedMethodCall < in T : Any > : Callable < Any ? >
open class UnparseableCallException : CordaException
val availableCommands : Map < String , String >
protected val methodMap : <ERROR CLASS> < String , Method >
val methodParamNames : Map < String , List < String > >
open fun paramNamesFromConstructor ( ctor : Constructor < * > ) : List < String >
open fun paramNamesFromMethod ( method : Method ) : List < String >
fun parse ( target : T ? , command : String ) : ParsedMethodCall < T >
fun parseArguments ( methodNameHint : String , parameters : List < <ERROR CLASS> < String , Type > > , args : String ) : Array < Any ? >
fun validateIsMatchingCtor ( methodNameHint : String , parameters : List < <ERROR CLASS> < String , Type > > , args : String ) : Unit
@Target ( [AnnotationTarget.CONSTRUCTOR, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER]) @CordaInternal annotation class StubOutForDJVM
data class Tenor
class TestClock
@DoNotImplement abstract class TestCordapp
data class TestLedgerDSLInterpreter : LedgerDSLInterpreter < TestTransactionDSLInterpreter >
data class TestTransactionDSLInterpreter : TransactionDSLInterpreter , OutputStateLookup
Module Contents
TestTransactionDSLInterpreter ( ledgerInterpreter : TestLedgerDSLInterpreter , transactionBuilder : TransactionBuilder )
fun _attachment ( contractClassName : ContractClassName ) : Unit
fun _attachment ( contractClassName : ContractClassName , attachmentId : AttachmentId , signers : List < PublicKey > ) : Unit
fun _attachment ( contractClassName : ContractClassName , attachmentId : AttachmentId , signers : List < PublicKey > , jarManifestAttributes : Map < String , String > ) : Unit
fun _tweak ( dsl : TransactionDSLInterpreter . ( ) -> EnforceVerifyOrFail ) : EnforceVerifyOrFail
fun attachment ( attachmentId : SecureHash ) : Unit
fun command ( signers : List < PublicKey > , commandData : CommandData ) : Unit
fun input ( stateRef : StateRef ) : Unit
val ledgerInterpreter : TestLedgerDSLInterpreter
fun output ( contractClassName : ContractClassName , label : String ? , notary : Party , encumbrance : Int ? , attachmentConstraint : AttachmentConstraint , contractState : ContractState ) : Unit
fun reference ( stateRef : StateRef ) : Unit
val services : ServicesForResolution
fun timeWindow ( data : TimeWindow ) : Unit
val transactionBuilder : TransactionBuilder
fun verifies ( ) : EnforceVerifyOrFail
abstract class TimeWindow
class TimeWindowChecker
interface TokenizableAssetInfo
data class Trace
open class TransactionBuilder
Module Contents
TransactionBuilder ( notary : Party ? = null, lockId : UUID = defaultLockId(), inputs : MutableList < StateRef > = arrayListOf(), attachments : MutableList < AttachmentId > = arrayListOf(), outputs : MutableList < TransactionState < ContractState > > = arrayListOf(), commands : MutableList < Command < * > > = arrayListOf(), window : TimeWindow ? = null, privacySalt : PrivacySalt = PrivacySalt())
TransactionBuilder ( notary : Party )
TransactionBuilder ( notary : Party ? = null, lockId : UUID = defaultLockId(), inputs : MutableList < StateRef > = arrayListOf(), attachments : MutableList < AttachmentId > = arrayListOf(), outputs : MutableList < TransactionState < ContractState > > = arrayListOf(), commands : MutableList < Command < * > > = arrayListOf(), window : TimeWindow ? = null, privacySalt : PrivacySalt = PrivacySalt(), references : MutableList < StateRef > = arrayListOf(), serviceHub : ServiceHub ? = (Strand.currentStrand() as? FlowStateMachine<*>)?.serviceHub)
fun addAttachment ( attachmentId : AttachmentId ) : <ERROR CLASS>
fun addCommand ( arg : Command < * > ) : <ERROR CLASS>
fun addCommand ( data : CommandData , vararg keys : PublicKey ) : <ERROR CLASS>
fun addCommand ( data : CommandData , keys : List < PublicKey > ) : <ERROR CLASS>
open fun addInputState ( stateAndRef : StateAndRef < * > ) : <ERROR CLASS>
fun addOutputState ( state : TransactionState < * > ) : <ERROR CLASS>
fun addOutputState ( state : ContractState , contract : ContractClassName = requireNotNullContractClassName(state), notary : Party , encumbrance : Int ? = null, constraint : AttachmentConstraint = AutomaticPlaceholderConstraint) : TransactionBuilder
fun addOutputState ( state : ContractState , contract : ContractClassName = requireNotNullContractClassName(state), constraint : AttachmentConstraint = AutomaticPlaceholderConstraint) : TransactionBuilder
fun addOutputState ( state : ContractState , constraint : AttachmentConstraint ) : TransactionBuilder
open fun addReferenceState ( referencedStateAndRef : ReferencedStateAndRef < * > ) : <ERROR CLASS>
fun attachments ( ) : List < AttachmentId >
protected val attachments : MutableList < AttachmentId >
fun commands ( ) : List < Command < * > >
protected val commands : MutableList < Command < * > >
fun copy ( ) : TransactionBuilder
fun inputStates ( ) : List < StateRef >
protected val inputs : MutableList < StateRef >
var lockId : UUID
var notary : Party ?
fun outputStates ( ) : List < TransactionState < * > >
protected val outputs : MutableList < TransactionState < ContractState > >
protected var privacySalt : PrivacySalt
fun referenceStates ( ) : List < StateRef >
protected val references : MutableList < StateRef >
protected val serviceHub : ServiceHub ?
fun setPrivacySalt ( privacySalt : PrivacySalt ) : <ERROR CLASS>
fun setTimeWindow ( timeWindow : TimeWindow ) : <ERROR CLASS>
fun setTimeWindow ( time : Instant , timeTolerance : Duration ) : <ERROR CLASS>
fun toLedgerTransaction ( services : ServiceHub ) : LedgerTransaction
fun toSignedTransaction ( keyManagementService : KeyManagementService , publicKey : PublicKey , signatureMetadata : SignatureMetadata , services : ServicesForResolution ) : SignedTransaction
fun toWireTransaction ( services : ServicesForResolution ) : WireTransaction
fun toWireTransaction ( services : ServicesForResolution , schemeId : Int ) : WireTransaction
fun toWireTransaction ( services : ServicesForResolution , schemeId : Int , properties : Map < Any , Any > ) : WireTransaction
fun verify ( services : ServiceHub ) : Unit
protected var window : TimeWindow ?
fun withItems ( vararg items : Any ) : <ERROR CLASS>
class TransactionDSL < out T : TransactionDSLInterpreter > : TransactionDSLInterpreter
Module Contents
TransactionDSL ( interpreter : T , notary : Party )
fun attachment ( contractClassName : ContractClassName ) : Unit
fun attachment ( contractClassName : ContractClassName , attachmentId : AttachmentId , signers : List < PublicKey > , jarManifestAttributes : Map < String , String > = emptyMap()) : Unit
fun attachment ( contractClassName : ContractClassName , attachmentId : AttachmentId ) : Unit
fun attachments ( vararg contractClassNames : ContractClassName ) : <ERROR CLASS>
fun command ( signer : PublicKey , commandData : CommandData ) : <ERROR CLASS>
fun input ( stateLabel : String ) : <ERROR CLASS>
fun input ( contractClassName : ContractClassName , stateLabel : String ) : Unit
fun input ( contractClassName : ContractClassName , state : ContractState ) : Unit
fun output ( contractClassName : ContractClassName , label : String , notary : Party , contractState : ContractState ) : Unit
fun output ( contractClassName : ContractClassName , label : String , encumbrance : Int , contractState : ContractState ) : Unit
fun output ( contractClassName : ContractClassName , label : String , contractState : ContractState ) : Unit
fun output ( contractClassName : ContractClassName , notary : Party , contractState : ContractState ) : Unit
fun output ( contractClassName : ContractClassName , encumbrance : Int , contractState : ContractState ) : Unit
fun output ( contractClassName : ContractClassName , contractState : ContractState ) : Unit
fun reference ( stateLabel : String ) : <ERROR CLASS>
fun reference ( contractClassName : ContractClassName , state : ContractState ) : Unit
fun timeWindow ( time : Instant , tolerance : Duration = 30.seconds) : Unit
fun tweak ( dsl : TransactionDSL < TransactionDSLInterpreter > . ( ) -> EnforceVerifyOrFail ) : EnforceVerifyOrFail
@DoNotImplement interface TransactionDSLInterpreter : Verifies , OutputStateLookup
Module Contents
abstract fun _attachment ( contractClassName : ContractClassName ) : Unit
abstract fun _attachment ( contractClassName : ContractClassName , attachmentId : AttachmentId , signers : List < PublicKey > ) : Unit
abstract fun _attachment ( contractClassName : ContractClassName , attachmentId : AttachmentId , signers : List < PublicKey > , jarManifestAttributes : Map < String , String > ) : Unit
abstract fun _tweak ( dsl : TransactionDSLInterpreter . ( ) -> EnforceVerifyOrFail ) : EnforceVerifyOrFail
abstract fun attachment ( attachmentId : SecureHash ) : Unit
abstract fun command ( signers : List < PublicKey > , commandData : CommandData ) : Unit
abstract fun input ( stateRef : StateRef ) : Unit
abstract val ledgerInterpreter : LedgerDSLInterpreter < TransactionDSLInterpreter >
abstract fun output ( contractClassName : ContractClassName , label : String ? , notary : Party , encumbrance : Int ? , attachmentConstraint : AttachmentConstraint , contractState : ContractState ) : Unit
abstract fun reference ( stateRef : StateRef ) : Unit
abstract fun timeWindow ( data : TimeWindow ) : Unit
open class TransactionResolutionException : FlowException
class TransactionSignature : DigitalSignature
data class TransactionState < out T : ContractState >
@DoNotImplement interface TransactionStorage
abstract class TransactionVerificationException : FlowException
@DoNotImplement interface TransactionWithSignatures : NamedByHash
abstract class TraversableTransaction : CoreTransaction
sealed class Try < out A >
object TwoPartyDealFlow
object TwoPartyTradeFlow
abstract class TypeOnlyCommandData : CommandData
class UnexpectedFlowEndException : CordaRuntimeException
data class UniqueIdentifier : Comparable < UniqueIdentifier >
class UnknownAnonymousPartyException : CordaException
class UnknownCalendar : FlowException
open class UnrecoverableRPCException : RPCException
class UnstartedMockNode
class UntrustworthyData < out T >
interface UpgradedContract < in OldState : ContractState , out NewState : ContractState > : Contract
interface UpgradedContractWithLegacyConstraint < in OldState : ContractState , out NewState : ContractState > : UpgradedContract < OldState , NewState >
data class User
class UuidGenerator
interface VariablePropertyDelegate < T > : PropertyDelegate < T >
class Vault < out T : ContractState >
Module Contents
Vault ( states : Iterable < StateAndRef < T > > )
data class ConstraintInfo
val NoNotaryUpdate : <ERROR CLASS>
val NoUpdate : <ERROR CLASS>
data class Page < out T : ContractState >
enum class RelevancyStatus
data class StateMetadata
Module Contents
StateMetadata ( ref : StateRef , contractStateClassName : String , recordedTime : Instant , consumedTime : Instant ? , status : StateStatus , notary : AbstractParty ? , lockId : String ? , lockUpdateTime : Instant ? , relevancyStatus : RelevancyStatus ? = null, constraintInfo : ConstraintInfo ? = null)
val constraintInfo : ConstraintInfo ?
val consumedTime : Instant ?
val contractStateClassName : String
fun copy ( ref : StateRef = this.ref, contractStateClassName : String = this.contractStateClassName, recordedTime : Instant = this.recordedTime, consumedTime : Instant ? = this.consumedTime, status : StateStatus = this.status, notary : AbstractParty ? = this.notary, lockId : String ? = this.lockId, lockUpdateTime : Instant ? = this.lockUpdateTime) : StateMetadata
fun copy ( ref : StateRef = this.ref, contractStateClassName : String = this.contractStateClassName, recordedTime : Instant = this.recordedTime, consumedTime : Instant ? = this.consumedTime, status : StateStatus = this.status, notary : AbstractParty ? = this.notary, lockId : String ? = this.lockId, lockUpdateTime : Instant ? = this.lockUpdateTime, relevancyStatus : RelevancyStatus ? ) : StateMetadata
val lockId : String ?
val lockUpdateTime : Instant ?
val notary : AbstractParty ?
val recordedTime : Instant
val ref : StateRef
val relevancyStatus : RelevancyStatus ?
val status : StateStatus
enum class StateStatus
data class Update < U : ContractState >
enum class UpdateType
val states : Iterable < StateAndRef < T > >
class VaultQueryException : FlowException
@DoNotImplement interface VaultService
Module Contents
abstract fun < T : ContractState > _queryBy ( criteria : QueryCriteria , paging : PageSpecification , sorting : Sort , contractStateType : Class < out T > ) : Page < T >
abstract fun < T : ContractState > _trackBy ( criteria : QueryCriteria , paging : PageSpecification , sorting : Sort , contractStateType : Class < out T > ) : DataFeed < Page < T > , Update < T > >
abstract fun addNoteToTransaction ( txnId : SecureHash , noteText : String ) : Unit
abstract fun getTransactionNotes ( txnId : SecureHash ) : Iterable < String >
open fun < T : ContractState > queryBy ( contractStateType : Class < out T > ) : Page < T >
open fun < T : ContractState > queryBy ( contractStateType : Class < out T > , criteria : QueryCriteria ) : Page < T >
open fun < T : ContractState > queryBy ( contractStateType : Class < out T > , paging : PageSpecification ) : Page < T >
open fun < T : ContractState > queryBy ( contractStateType : Class < out T > , criteria : QueryCriteria , paging : PageSpecification ) : Page < T >
open fun < T : ContractState > queryBy ( contractStateType : Class < out T > , criteria : QueryCriteria , sorting : Sort ) : Page < T >
open fun < T : ContractState > queryBy ( contractStateType : Class < out T > , criteria : QueryCriteria , paging : PageSpecification , sorting : Sort ) : Page < T >
abstract val rawUpdates : <ERROR CLASS> < Update < ContractState > >
abstract fun softLockRelease ( lockId : UUID , stateRefs : NonEmptySet < StateRef > ? = null) : Unit
abstract fun softLockReserve ( lockId : UUID , stateRefs : NonEmptySet < StateRef > ) : Unit
open fun < T : ContractState > trackBy ( contractStateType : Class < out T > ) : DataFeed < Page < T > , Update < T > >
open fun < T : ContractState > trackBy ( contractStateType : Class < out T > , criteria : QueryCriteria ) : DataFeed < Page < T > , Update < T > >
open fun < T : ContractState > trackBy ( contractStateType : Class < out T > , paging : PageSpecification ) : DataFeed < Page < T > , Update < T > >
open fun < T : ContractState > trackBy ( contractStateType : Class < out T > , criteria : QueryCriteria , paging : PageSpecification ) : DataFeed < Page < T > , Update < T > >
open fun < T : ContractState > trackBy ( contractStateType : Class < out T > , criteria : QueryCriteria , sorting : Sort ) : DataFeed < Page < T > , Update < T > >
open fun < T : ContractState > trackBy ( contractStateType : Class < out T > , criteria : QueryCriteria , paging : PageSpecification , sorting : Sort ) : DataFeed < Page < T > , Update < T > >
abstract fun < T : FungibleState < * > > tryLockFungibleStatesForSpending ( lockId : UUID , eligibleStatesQuery : QueryCriteria , amount : Amount < * > , contractStateType : Class < out T > ) : List < StateAndRef < T > >
abstract val updates : <ERROR CLASS> < Update < ContractState > >
open fun whenConsumed ( ref : StateRef ) : CordaFuture < Update < ContractState > >
enum class VerifierType
@DoNotImplement interface Verifies
data class WaitTimeUpdate
data class WebserverHandle
object WhitelistedByZoneAttachmentConstraint : AttachmentConstraint
class WireTransaction : TraversableTransaction
Module Contents
WireTransaction ( componentGroups : List < ComponentGroup > )
WireTransaction ( componentGroups : List < ComponentGroup > , privacySalt : PrivacySalt = PrivacySalt())
WireTransaction ( inputs : List < StateRef > , attachments : List < SecureHash > , outputs : List < TransactionState < ContractState > > , commands : List < Command < * > > , notary : Party ? , timeWindow : TimeWindow ? , privacySalt : PrivacySalt = PrivacySalt())
WireTransaction ( componentGroups : List < ComponentGroup > , privacySalt : PrivacySalt , digestService : DigestService )
fun buildFilteredTransaction ( filtering : Predicate < Any > ) : FilteredTransaction
fun checkSignature ( sig : TransactionSignature ) : Unit
@CordaInternal fun createComponentGroups ( inputs : List < StateRef > , outputs : List < TransactionState < ContractState > > , commands : List < Command < * > > , attachments : List < SecureHash > , notary : Party ? , timeWindow : TimeWindow ? ) : List < ComponentGroup >
fun equals ( other : Any ? ) : Boolean
fun hashCode ( ) : Int
val id : SecureHash
val merkleTree : MerkleTree
val privacySalt : PrivacySalt
val requiredSigningKeys : Set < PublicKey >
@CordaInternal fun resolveStateRefBinaryComponent ( stateRef : StateRef , services : ServicesForResolution ) : SerializedBytes < TransactionState < ContractState > > ?
fun toLedgerTransaction ( services : ServicesForResolution ) : LedgerTransaction
fun toLedgerTransaction ( resolveIdentity : ( PublicKey ) -> Party ? , resolveAttachment : ( SecureHash ) -> Attachment ? , resolveStateRef : ( StateRef ) -> TransactionState < * > ? , resolveContractAttachment : ( TransactionState < ContractState > ) -> AttachmentId ? ) : LedgerTransaction
fun toString ( ) : String
class WithReferencedStatesFlow < T : Any > : FlowLogic < T >
class ZoneVersionTooLowException : CordaRuntimeException
java.lang.management.ThreadInfo
java.security.KeyPair
java.security.PrivateKey
java.security.PublicKey
java.security.PublicKey
java.sql.Blob
java.util.Currency
java.util.concurrent.Future
java.util.concurrent.Future
kotlin.Any
Module Contents
fun Any . contextLogger ( ) : <ERROR CLASS>
kotlin.ByteArray
kotlin.ByteArray
kotlin.ByteArray
kotlin.Double
kotlin.Int
kotlin.Int
kotlin.Long
kotlin.Long
kotlin.String
kotlin.collections.Collection
kotlin.collections.Collection
kotlin.collections.Iterable
kotlin.collections.Iterable
kotlin.collections.Iterable
kotlin.collections.Map
kotlin.reflect.KClass
package net.corda.client.jackson
Module Contents
object JacksonSupport
open class StringToMethodCallParser < in T : Any >
Module Contents
StringToMethodCallParser ( targetType : KClass < out T > )
StringToMethodCallParser ( targetType : Class < out T > , om : <ERROR CLASS> = JacksonSupport.createNonRpcMapper(YAMLFactory()))
inner class ParsedMethodCall < in T : Any > : Callable < Any ? >
open class UnparseableCallException : CordaException
val availableCommands : Map < String , String >
protected val methodMap : <ERROR CLASS> < String , Method >
val methodParamNames : Map < String , List < String > >
open fun paramNamesFromConstructor ( ctor : Constructor < * > ) : List < String >
open fun paramNamesFromMethod ( method : Method ) : List < String >
fun parse ( target : T ? , command : String ) : ParsedMethodCall < T >
fun parseArguments ( methodNameHint : String , parameters : List < <ERROR CLASS> < String , Type > > , args : String ) : Array < Any ? >
fun validateIsMatchingCtor ( methodNameHint : String , parameters : List < <ERROR CLASS> < String , Type > > , args : String ) : Unit
package net.corda.client.rpc
Module Contents
open class ConnectionFailureException : RPCException
class CordaRPCClient
Module Contents
CordaRPCClient ( hostAndPort : NetworkHostAndPort , configuration : CordaRPCClientConfiguration = CordaRPCClientConfiguration.DEFAULT)
CordaRPCClient ( hostAndPort : NetworkHostAndPort , configuration : CordaRPCClientConfiguration = CordaRPCClientConfiguration.DEFAULT, classLoader : ClassLoader )
CordaRPCClient ( hostAndPort : NetworkHostAndPort , sslConfiguration : ClientRpcSslOptions ? = null, classLoader : ClassLoader ? = null)
CordaRPCClient ( hostAndPort : NetworkHostAndPort , configuration : CordaRPCClientConfiguration , sslConfiguration : ClientRpcSslOptions ? , classLoader : ClassLoader ? = null)
CordaRPCClient ( haAddressPool : List < NetworkHostAndPort > , configuration : CordaRPCClientConfiguration = CordaRPCClientConfiguration.DEFAULT, sslConfiguration : ClientRpcSslOptions ? = null, classLoader : ClassLoader ? = null)
CordaRPCClient ( hostAndPort : NetworkHostAndPort , configuration : CordaRPCClientConfiguration = CordaRPCClientConfiguration.DEFAULT, sslConfiguration : ClientRpcSslOptions ? = null, classLoader : ClassLoader ? = null, customSerializers : Set < SerializationCustomSerializer < * , * > > ? )
CordaRPCClient ( haAddressPool : List < NetworkHostAndPort > , configuration : CordaRPCClientConfiguration = CordaRPCClientConfiguration.DEFAULT, sslConfiguration : ClientRpcSslOptions ? = null, classLoader : ClassLoader ? = null, customSerializers : Set < SerializationCustomSerializer < * , * > > ? )
@CordaInternal @VisibleForTesting fun getRegisteredCustomSerializers ( ) : List < SerializationCustomSerializer < * , * > >
fun start ( username : String , password : String , gracefulReconnect : GracefulReconnect ? = null) : CordaRPCConnection
fun start ( username : String , password : String , targetLegalIdentity : CordaX500Name , gracefulReconnect : GracefulReconnect ? = null) : CordaRPCConnection
fun start ( username : String , password : String , externalTrace : Trace ? , impersonatedActor : Actor ? , gracefulReconnect : GracefulReconnect ? = null) : CordaRPCConnection
fun start ( username : String , password : String , externalTrace : Trace ? , impersonatedActor : Actor ? , targetLegalIdentity : CordaX500Name ? , gracefulReconnect : GracefulReconnect ? = null) : CordaRPCConnection
inline fun < A > use ( username : String , password : String , block : ( CordaRPCConnection ) -> A ) : A
open class CordaRPCClientConfiguration
class CordaRPCConnection : RPCConnection < CordaRPCOps >
class GracefulReconnect
class MaxRpcRetryException : RPCException
class PermissionException : CordaRuntimeException , ClientRelevantError
@DoNotImplement interface RPCConnection < out I : RPCOps > : Closeable
open class RPCException : CordaRuntimeException
@Target ( [AnnotationTarget.FUNCTION]) annotation class RPCSinceVersion
open class UnrecoverableRPCException : RPCException
fun < T > <ERROR CLASS> < T > . notUsed ( ) : Unit
package net.corda.client.rpc.ext
Module Contents
class MultiRPCClient < I : RPCOps > : AutoCloseable
Module Contents
MultiRPCClient ( hostAndPort : NetworkHostAndPort , rpcOpsClass : Class < I > , username : String , password : String , configuration : CordaRPCClientConfiguration = CordaRPCClientConfiguration.DEFAULT)
MultiRPCClient ( hostAndPort : NetworkHostAndPort , rpcOpsClass : Class < I > , username : String , password : String , classLoader : ClassLoader , configuration : CordaRPCClientConfiguration = CordaRPCClientConfiguration.DEFAULT)
MultiRPCClient ( hostAndPort : NetworkHostAndPort , rpcOpsClass : Class < I > , username : String , password : String , sslConfiguration : ClientRpcSslOptions ? = null, classLoader : ClassLoader ? = null)
MultiRPCClient ( hostAndPort : NetworkHostAndPort , rpcOpsClass : Class < I > , username : String , password : String , configuration : CordaRPCClientConfiguration , sslConfiguration : ClientRpcSslOptions ? , classLoader : ClassLoader ? = null)
MultiRPCClient ( haAddressPool : List < NetworkHostAndPort > , rpcOpsClass : Class < I > , username : String , password : String , configuration : CordaRPCClientConfiguration = CordaRPCClientConfiguration.DEFAULT, sslConfiguration : ClientRpcSslOptions ? = null, classLoader : ClassLoader ? = null)
MultiRPCClient ( hostAndPort : NetworkHostAndPort , rpcOpsClass : Class < I > , username : String , password : String , customSerializers : Set < SerializationCustomSerializer < * , * > > ? , configuration : CordaRPCClientConfiguration = CordaRPCClientConfiguration.DEFAULT, sslConfiguration : ClientRpcSslOptions ? = null, classLoader : ClassLoader ? = null, externalTrace : Trace ? = null, impersonatedActor : Actor ? = null, targetLegalIdentity : CordaX500Name ? = null)
MultiRPCClient ( haAddressPool : List < NetworkHostAndPort > , rpcOpsClass : Class < I > , username : String , password : String , customSerializers : Set < SerializationCustomSerializer < * , * > > ? , configuration : CordaRPCClientConfiguration = CordaRPCClientConfiguration.DEFAULT, sslConfiguration : ClientRpcSslOptions ? = null, classLoader : ClassLoader ? = null, externalTrace : Trace ? = null, impersonatedActor : Actor ? = null, targetLegalIdentity : CordaX500Name ? = null)
fun addConnectionListener ( listener : RPCConnectionListener < I > ) : Boolean
fun close ( ) : Unit
fun removeConnectionListener ( listener : RPCConnectionListener < I > ) : Boolean
fun start ( ) : CompletableFuture < RPCConnection < I > >
fun stop ( ) : Unit
interface RPCConnectionListener < I : RPCOps >
package net.corda.client.rpc.reconnect
package net.corda.core
Module Contents
interface ClientRelevantError
open class CordaException : Exception , CordaThrowable
@Target ( [AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.PROPERTY, AnnotationTarget.FUNCTION, AnnotationTarget.ANNOTATION_CLASS, AnnotationTarget.CLASS]) annotation class CordaInternal
object CordaOID
open class CordaRuntimeException : RuntimeException , CordaThrowable
interface CordaThrowable
@Target ( [AnnotationTarget.FILE, AnnotationTarget.CLASS, AnnotationTarget.CONSTRUCTOR, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.PROPERTY, AnnotationTarget.FIELD, AnnotationTarget.TYPEALIAS]) @CordaInternal annotation class DeleteForDJVM
@Target ( [AnnotationTarget.CLASS]) @Inherited annotation class DoNotImplement
@Target ( [AnnotationTarget.FILE, AnnotationTarget.CLASS]) @CordaInternal annotation class KeepForDJVM
@Target ( [AnnotationTarget.CONSTRUCTOR, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER]) @CordaInternal annotation class StubOutForDJVM
fun < SNAPSHOT , ELEMENT > DataFeed < SNAPSHOT , ELEMENT > . doOnError ( action : ( Throwable ) -> Unit ) : DataFeed < SNAPSHOT , ELEMENT >
fun < SNAPSHOT , ELEMENT > DataFeed < SNAPSHOT , ELEMENT > . mapErrors ( transform : ( Throwable ) -> Throwable ) : DataFeed < SNAPSHOT , ELEMENT >
fun < ELEMENT > <ERROR CLASS> < ELEMENT > . mapErrors ( transform : ( Throwable ) -> Throwable ) : <ERROR CLASS> < ELEMENT >
fun < T > <ERROR CLASS> < T > . toFuture ( ) : CordaFuture < T >
fun < A > CordaFuture < out A > . toObservable ( ) : <ERROR CLASS> < A >
package net.corda.core.concurrent
package net.corda.core.context
Module Contents
data class Actor
data class AuthServiceId
data class InvocationContext
Module Contents
InvocationContext ( origin : InvocationOrigin , trace : Trace , actor : Actor ? , externalTrace : Trace ? = null, impersonatedActor : Actor ? = null)
InvocationContext ( origin : InvocationOrigin , trace : Trace , actor : Actor ? , externalTrace : Trace ? = null, impersonatedActor : Actor ? = null, arguments : List < Any ? > ? = emptyList(), clientId : String ? = null)
val actor : Actor ?
val arguments : List < Any ? > ?
val clientId : String ?
fun copy ( origin : InvocationOrigin = this.origin, trace : Trace = this.trace, actor : Actor ? = this.actor, externalTrace : Trace ? = this.externalTrace, impersonatedActor : Actor ? = this.impersonatedActor) : InvocationContext
val externalTrace : Trace ?
val impersonatedActor : Actor ?
fun newInstance ( origin : InvocationOrigin , trace : Trace = Trace.newInstance(), actor : Actor ? = null, externalTrace : Trace ? = null, impersonatedActor : Actor ? = null, arguments : List < Any ? > = emptyList(), clientId : String ? = null) : InvocationContext
val origin : InvocationOrigin
fun peer ( party : CordaX500Name , trace : Trace = Trace.newInstance(), externalTrace : Trace ? = null, impersonatedActor : Actor ? = null) : InvocationContext
fun principal ( ) : Principal
fun rpc ( actor : Actor , trace : Trace = Trace.newInstance(), externalTrace : Trace ? = null, impersonatedActor : Actor ? = null, arguments : List < Any ? > = emptyList()) : InvocationContext
fun scheduled ( scheduledState : ScheduledStateRef , trace : Trace = Trace.newInstance(), externalTrace : Trace ? = null) : InvocationContext
fun service ( serviceClassName : String , owningLegalIdentity : CordaX500Name , trace : Trace = Trace.newInstance(), externalTrace : Trace ? = null) : InvocationContext
fun shell ( trace : Trace = Trace.newInstance(), externalTrace : Trace ? = null) : InvocationContext
val trace : Trace
sealed class InvocationOrigin
data class Trace
package net.corda.core.contracts
Module Contents
object AlwaysAcceptAttachmentConstraint : AttachmentConstraint
data class Amount < T : Any > : Comparable < Amount < T > >
class AmountTransfer < T : Any , P : Any >
Module Contents
AmountTransfer ( quantityDelta : Long , token : T , source : P , destination : P )
fun apply ( balances : List < SourceAndAmount < T , P > > , newRef : Any ? = null) : List < SourceAndAmount < T , P > >
val destination : P
fun equals ( other : Any ? ) : Boolean
fun < T : Any , P : Any > fromDecimal ( displayQuantityDelta : BigDecimal , token : T , source : P , destination : P , rounding : RoundingMode = RoundingMode.DOWN) : AmountTransfer < T , P >
fun hashCode ( ) : Int
fun novate ( centralParty : P ) : List < AmountTransfer < T , P > >
operator fun plus ( other : AmountTransfer < T , P > ) : AmountTransfer < T , P >
val quantityDelta : Long
val source : P
fun toDecimal ( ) : BigDecimal
val token : T
fun < T : Any , P : Any > zero ( token : T , source : P , destination : P ) : AmountTransfer < T , P >
@DoNotImplement interface Attachment : NamedByHash
@DoNotImplement interface AttachmentConstraint
class AttachmentResolutionException : FlowException
object AutomaticHashConstraint : AttachmentConstraint
object AutomaticPlaceholderConstraint : AttachmentConstraint
@Target ( [AnnotationTarget.CLASS]) annotation class BelongsToContract
class BrokenAttachmentException : FlowException
data class Command < T : CommandData >
data class CommandAndState
interface CommandData
data class CommandWithParties < out T : CommandData >
enum class ComponentGroupEnum
interface Contract
class ContractAttachment : Attachment
typealias ContractClassName = String
interface ContractState
interface FungibleAsset < T : Any > : FungibleState < Issued < T > > , OwnableState
interface FungibleState < T : Any > : ContractState
data class HashAttachmentConstraint : AttachmentConstraint
class InsufficientBalanceException : FlowException
data class Issued < out P : Any >
@Target ( [AnnotationTarget.CLASS]) annotation class LegalProseReference
class LinearPointer < T : LinearState > : StatePointer < T >
interface LinearState : ContractState
const val MAX_ISSUER_REF_SIZE : Int
interface MoveCommand : CommandData
interface NamedByHash
@Target ( [AnnotationTarget.CLASS]) @Inherited annotation class NoConstraintPropagation
interface OwnableState : ContractState
data class PartyAndReference
class PrivacySalt : OpaqueBytes
data class ReferencedStateAndRef < out T : ContractState >
object Requirements
interface SchedulableState : ContractState
interface Scheduled
data class ScheduledActivity : Scheduled
data class ScheduledStateRef : Scheduled
data class SignatureAttachmentConstraint : AttachmentConstraint
data class SourceAndAmount < T : Any , out P : Any >
data class StateAndContract
data class StateAndRef < out T : ContractState >
@DoNotImplement sealed class StatePointer < T : ContractState >
data class StateRef
class StaticPointer < T : ContractState > : StatePointer < T >
abstract class TimeWindow
interface TokenizableAssetInfo
open class TransactionResolutionException : FlowException
data class TransactionState < out T : ContractState >
abstract class TransactionVerificationException : FlowException
abstract class TypeOnlyCommandData : CommandData
data class UniqueIdentifier : Comparable < UniqueIdentifier >
interface UpgradedContract < in OldState : ContractState , out NewState : ContractState > : Contract
interface UpgradedContractWithLegacyConstraint < in OldState : ContractState , out NewState : ContractState > : UpgradedContract < OldState , NewState >
object WhitelistedByZoneAttachmentConstraint : AttachmentConstraint
fun ContractState . hash ( ) : SecureHash
fun ContractState . hash ( algorithm : String ) : SecureHash
kotlin.collections.Collection
kotlin.collections.Iterable
inline fun < R > requireThat ( body : Requirements . ( ) -> R ) : R
inline fun < reified T : MoveCommand > verifyMoveCommand ( inputs : List < OwnableState > , commands : List < CommandWithParties < CommandData > > ) : MoveCommand
fun < T : Any > Amount < Issued < T > > . withoutIssuer ( ) : Amount < T >
package net.corda.core.cordapp
package net.corda.core.crypto
Module Contents
class CompositeKey : PublicKey
class CompositeKeyFactory : KeyFactorySpi
class CompositeSignature : Signature
data class CompositeSignaturesWithKeys
object CordaObjectIdentifier
class CordaSecurityProvider : Provider
object Crypto
Module Contents
val COMPOSITE_KEY : SignatureScheme
val DEFAULT_SIGNATURE_SCHEME : SignatureScheme
val ECDSA_SECP256K1_SHA256 : SignatureScheme
val ECDSA_SECP256R1_SHA256 : SignatureScheme
val EDDSA_ED25519_SHA512 : SignatureScheme
val RSA_SHA256 : SignatureScheme
val SHA512_256 : <ERROR CLASS>
val SPHINCS256_SHA256 : SignatureScheme
fun decodePrivateKey ( encodedKey : ByteArray ) : PrivateKey
fun decodePrivateKey ( schemeCodeName : String , encodedKey : ByteArray ) : PrivateKey
fun decodePrivateKey ( signatureScheme : SignatureScheme , encodedKey : ByteArray ) : PrivateKey
fun decodePublicKey ( encodedKey : ByteArray ) : PublicKey
fun decodePublicKey ( schemeCodeName : String , encodedKey : ByteArray ) : PublicKey
fun decodePublicKey ( signatureScheme : SignatureScheme , encodedKey : ByteArray ) : PublicKey
fun deriveKeyPair ( signatureScheme : SignatureScheme , privateKey : PrivateKey , seed : ByteArray ) : KeyPair
fun deriveKeyPair ( privateKey : PrivateKey , seed : ByteArray ) : KeyPair
fun deriveKeyPairFromEntropy ( signatureScheme : SignatureScheme , entropy : BigInteger ) : KeyPair
fun deriveKeyPairFromEntropy ( entropy : BigInteger ) : KeyPair
fun doSign ( privateKey : PrivateKey , clearData : ByteArray ) : ByteArray
fun doSign ( schemeCodeName : String , privateKey : PrivateKey , clearData : ByteArray ) : ByteArray
fun doSign ( signatureScheme : SignatureScheme , privateKey : PrivateKey , clearData : ByteArray ) : ByteArray
fun doSign ( keyPair : KeyPair , signableData : SignableData ) : TransactionSignature
fun doVerify ( schemeCodeName : String , publicKey : PublicKey , signatureData : ByteArray , clearData : ByteArray ) : Boolean
fun doVerify ( publicKey : PublicKey , signatureData : ByteArray , clearData : ByteArray ) : Boolean
fun doVerify ( signatureScheme : SignatureScheme , publicKey : PublicKey , signatureData : ByteArray , clearData : ByteArray ) : Boolean
fun doVerify ( txId : SecureHash , transactionSignature : TransactionSignature ) : Boolean
fun findProvider ( name : String ) : Provider
fun findSignatureScheme ( algorithm : <ERROR CLASS> ) : SignatureScheme
fun findSignatureScheme ( : Int ) : SignatureScheme
fun findSignatureScheme ( schemeCodeName : String ) : SignatureScheme
fun findSignatureScheme ( key : PublicKey ) : SignatureScheme
fun findSignatureScheme ( key : PrivateKey ) : SignatureScheme
fun generateKeyPair ( schemeCodeName : String ) : KeyPair
fun generateKeyPair ( signatureScheme : SignatureScheme = DEFAULT_SIGNATURE_SCHEME) : KeyPair
fun isSupportedSignatureScheme ( signatureScheme : SignatureScheme ) : Boolean
fun isValid ( txId : SecureHash , transactionSignature : TransactionSignature ) : Boolean
fun isValid ( publicKey : PublicKey , signatureData : ByteArray , clearData : ByteArray ) : Boolean
fun isValid ( signatureScheme : SignatureScheme , publicKey : PublicKey , signatureData : ByteArray , clearData : ByteArray ) : Boolean
fun publicKeyOnCurve ( signatureScheme : SignatureScheme , publicKey : PublicKey ) : Boolean
fun registerProviders ( ) : Unit
fun supportedSignatureSchemes ( ) : List < SignatureScheme >
fun toSupportedPrivateKey ( key : PrivateKey ) : PrivateKey
fun toSupportedPublicKey ( key : <ERROR CLASS> ) : PublicKey
fun toSupportedPublicKey ( key : PublicKey ) : PublicKey
fun validatePublicKey ( key : PublicKey ) : Boolean
interface DigestAlgorithm
data class DigestService
open class DigitalSignature : OpaqueBytes
object DummySecureRandom : SecureRandom
sealed class MerkleTree
class MerkleTreeException : CordaException
object NullKeys
class PartialMerkleTree
sealed class SecureHash : OpaqueBytes
data class SignableData
data class SignatureMetadata
data class SignatureScheme
open class SignedData < T : Any >
class TransactionSignature : DigitalSignature
val SecureHash . algorithm : String
fun componentHash ( opaqueBytes : OpaqueBytes , privacySalt : PrivacySalt , componentGroupIndex : Int , internalIndex : Int ) : SecureHash
fun componentHash ( nonce : SecureHash , opaqueBytes : OpaqueBytes ) : SecureHash
fun computeNonce ( privacySalt : PrivacySalt , groupIndex : Int , internalIndex : Int ) : SHA256
fun entropyToKeyPair ( entropy : BigInteger ) : KeyPair
fun generateKeyPair ( ) : KeyPair
fun OpaqueBytes . hashAs ( algorithm : String ) : SecureHash
val OpaqueBytes . isZero : Boolean
java.security.KeyPair
java.security.PrivateKey
java.security.PublicKey
kotlin.ByteArray
kotlin.collections.Iterable
fun newSecureRandom ( ) : SecureRandom
fun random63BitValue ( ) : Long
fun DigestService . randomHash ( ) : SecureHash
fun secureRandomBytes ( numOfBytes : Int ) : ByteArray
fun < T : Any > serializedHash ( x : T ) : SecureHash
fun OpaqueBytes . sha256 ( ) : SHA256
package net.corda.core.flows
Module Contents
abstract class AbstractStateReplacementFlow
class CollectSignatureFlow : FlowLogic < List < TransactionSignature > >
class CollectSignaturesFlow : FlowLogic < SignedTransaction >
object ContractUpgradeFlow
open class DataVendingFlow : FlowLogic < Void ? >
@DoNotImplement interface Destination
@InitiatingFlow class FinalityFlow : FlowLogic < SignedTransaction >
Module Contents
FinalityFlow ( transaction : SignedTransaction , : Set < Party > , progressTracker : ProgressTracker )
FinalityFlow ( transaction : SignedTransaction , : Set < Party > )
FinalityFlow ( transaction : SignedTransaction )
FinalityFlow ( transaction : SignedTransaction , progressTracker : ProgressTracker )
FinalityFlow ( transaction : SignedTransaction , firstSession : FlowSession , vararg restSessions : FlowSession )
FinalityFlow ( transaction : SignedTransaction , sessions : Collection < FlowSession > , progressTracker : ProgressTracker = tracker())
FinalityFlow ( transaction : SignedTransaction , sessions : Collection < FlowSession > , statesToRecord : StatesToRecord , progressTracker : ProgressTracker = tracker())
FinalityFlow ( transaction : SignedTransaction , sessions : Collection < FlowSession > , oldParticipants : Collection < Party > , progressTracker : ProgressTracker )
object BROADCASTING : Step
@CordaInternal data class ExtraConstructorArgs
object NOTARISING : Step
fun call ( ) : SignedTransaction
@CordaInternal fun getExtraConstructorArgs ( ) : ExtraConstructorArgs
val progressTracker : ProgressTracker
fun tracker ( ) : ProgressTracker
val transaction : SignedTransaction
open class FlowException : CordaException
interface FlowExternalAsyncOperation < R : Any >
interface FlowExternalOperation < R : Any >
data class FlowInfo
sealed class FlowInitiator : Principal
abstract class FlowLogic < out T >
Module Contents
FlowLogic ( )
fun < R : Any > await ( operation : FlowExternalAsyncOperation < R > ) : R
fun < R : Any > await ( operation : FlowExternalOperation < R > ) : R
abstract fun call ( ) : T
fun checkFlowIsNotKilled ( ) : Unit
fun checkFlowIsNotKilled ( lazyMessage : ( ) -> Any ) : Unit
fun checkFlowPermission ( permissionName : String , : Map < String , String > ) : Unit
fun close ( sessions : NonEmptySet < FlowSession > ) : Unit
val currentTopLevel : FlowLogic < * > ?
fun flowStackSnapshot ( ) : FlowStackSnapshot ?
fun getFlowInfo ( otherParty : Party ) : FlowInfo
fun initiateFlow ( destination : Destination ) : FlowSession
fun initiateFlow ( party : Party ) : FlowSession
val isKilled : Boolean
val logger : <ERROR CLASS>
val ourIdentity : Party
val ourIdentityAndCert : PartyAndCertificate
fun persistFlowStackSnapshot ( ) : Unit
open val progressTracker : ProgressTracker ?
inline fun < reified R : Any > receive ( otherParty : Party ) : UntrustworthyData < R >
open fun < R : Any > receive ( receiveType : Class < R > , otherParty : Party ) : UntrustworthyData < R >
open fun < R : Any > receiveAll ( receiveType : Class < R > , sessions : List < FlowSession > , maySkipCheckpoint : Boolean = false) : List < UntrustworthyData < R > >
open fun receiveAllMap ( sessions : Map < FlowSession , Class < out Any > > , maySkipCheckpoint : Boolean = false) : Map < FlowSession , UntrustworthyData < Any > >
fun recordAuditEvent ( eventType : String , : String , : Map < String , String > ) : Unit
val runId : StateMachineRunId
open fun send ( otherParty : Party , payload : Any ) : Unit
fun sendAll ( payload : Any , sessions : Set < FlowSession > , maySkipCheckpoint : Boolean = false) : Unit
fun sendAllMap ( payloadsPerSession : Map < FlowSession , Any > , maySkipCheckpoint : Boolean = false) : Unit
inline fun < reified R : Any > sendAndReceive ( otherParty : Party , payload : Any ) : UntrustworthyData < R >
open fun < R : Any > sendAndReceive ( receiveType : Class < R > , otherParty : Party , payload : Any ) : UntrustworthyData < R >
val serviceHub : ServiceHub
fun sleep ( duration : Duration , maySkipCheckpoint : Boolean = false) : Unit
open fun < R > subFlow ( subLogic : FlowLogic < R > ) : R
fun track ( ) : DataFeed < String , String > ?
fun trackStepsTree ( ) : DataFeed < List < <ERROR CLASS> < Int , String > > , List < <ERROR CLASS> < Int , String > > > ?
fun trackStepsTreeIndex ( ) : DataFeed < Int , Int > ?
fun waitForLedgerCommit ( hash : SecureHash , maySkipCheckpoint : Boolean = false) : SignedTransaction
fun waitForStateConsumption ( stateRefs : Set < StateRef > ) : Unit
@DoNotImplement interface FlowLogicRef
@DoNotImplement interface FlowLogicRefFactory
@DoNotImplement abstract class FlowSession
data class FlowStackSnapshot
open class HospitalizeFlowException : CordaRuntimeException
class IllegalFlowLogicException : IllegalArgumentException
@Target ( [AnnotationTarget.CLASS]) annotation class InitiatedBy
@Target ( [AnnotationTarget.CLASS]) @Inherited annotation class InitiatingFlow
class KilledFlowException : CordaRuntimeException
class MaybeSerializedSignedTransaction : NamedByHash
data class NotarisationPayload
class NotarisationRequest
data class NotarisationRequestSignature
data class NotarisationResponse
@InitiatingFlow class NotaryChangeFlow < out T : ContractState > : Instigator < T , T , Party >
sealed class NotaryError
class NotaryException : FlowException
class NotaryFlow
class ReceiveFinalityFlow : FlowLogic < SignedTransaction >
class ReceiveStateAndRefFlow < out T : ContractState > : FlowLogic < List < StateAndRef < T > > >
open class ReceiveTransactionFlow : FlowLogic < SignedTransaction >
class ResultSerializationException : CordaRuntimeException
@Target ( [AnnotationTarget.CLASS]) @Inherited annotation class SchedulableFlow
open class SendStateAndRefFlow : DataVendingFlow
open class SendTransactionFlow : DataVendingFlow
abstract class SignTransactionFlow : FlowLogic < SignedTransaction >
data class StackFrameDataToken
@Target ( [AnnotationTarget.CLASS]) annotation class StartableByRPC
@Target ( [AnnotationTarget.CLASS]) annotation class StartableByService
data class StateConsumptionDetails
data class StateMachineRunId
open class StateReplacementException : FlowException
class UnexpectedFlowEndException : CordaRuntimeException
data class WaitTimeUpdate
class WithReferencedStatesFlow < T : Any > : FlowLogic < T >
package net.corda.core.identity
Module Contents
@DoNotImplement abstract class AbstractParty : Destination
class AnonymousParty : Destination , AbstractParty
data class CordaX500Name
Module Contents
CordaX500Name ( commonName : String , organisation : String , locality : String , country : String )
CordaX500Name ( organisation : String , locality : String , country : String )
CordaX500Name ( commonName : String ? , organisationUnit : String ? , organisation : String , locality : String , state : String ? , country : String )
const val LENGTH_COUNTRY : Int
const val MAX_LENGTH_COMMON_NAME : Int
const val MAX_LENGTH_LOCALITY : Int
const val MAX_LENGTH_ORGANISATION : Int
const val MAX_LENGTH_ORGANISATION_UNIT : Int
const val MAX_LENGTH_STATE : Int
fun build ( principal : X500Principal ) : CordaX500Name
val commonName : String ?
val country : String
val locality : String
val organisation : String
val organisationUnit : String ?
fun parse ( name : String ) : CordaX500Name
val state : String ?
fun toString ( ) : String
val x500Principal : X500Principal
class Party : Destination , AbstractParty
class PartyAndCertificate
fun < T > excludeHostNode ( serviceHub : ServiceHub , map : Map < Party , T > ) : Map < Party , T >
fun < T > excludeNotary ( map : Map < Party , T > , stx : SignedTransaction ) : Map < Party , T >
fun groupAbstractPartyByWellKnownParty ( serviceHub : ServiceHub , parties : Collection < AbstractParty > , ignoreUnrecognisedParties : Boolean ) : Map < Party , List < AbstractParty > >
fun groupAbstractPartyByWellKnownParty ( serviceHub : ServiceHub , parties : Collection < AbstractParty > ) : Map < Party , List < AbstractParty > >
fun groupPublicKeysByWellKnownParty ( serviceHub : ServiceHub , publicKeys : Collection < PublicKey > , ignoreUnrecognisedParties : Boolean ) : Map < Party , List < PublicKey > >
fun groupPublicKeysByWellKnownParty ( serviceHub : ServiceHub , publicKeys : Collection < PublicKey > ) : Map < Party , List < PublicKey > >
fun x500Matches ( query : String , exactMatch : Boolean , x500name : CordaX500Name ) : Boolean
package net.corda.core.messaging
Module Contents
interface AllPossibleRecipients : MessageRecipients
data class ClientRpcSslOptions
interface CordaRPCOps : RPCOps
Module Contents
abstract fun acceptNewNetworkParameters ( parametersHash : SecureHash ) : Unit
abstract fun addVaultTransactionNote ( txnId : SecureHash , txnNote : String ) : Unit
abstract fun attachmentExists ( id : SecureHash ) : Boolean
abstract fun clearNetworkMapCache ( ) : Unit
abstract fun currentNodeTime ( ) : Instant
abstract fun finishedFlowsWithClientIds ( ) : Map < String , Boolean >
abstract fun finishedFlowsWithClientIdsAsAdmin ( ) : Map < String , Boolean >
abstract fun getVaultTransactionNotes ( txnId : SecureHash ) : Iterable < String >
abstract fun isFlowsDrainingModeEnabled ( ) : Boolean
abstract fun isWaitingForShutdown ( ) : Boolean
abstract fun killFlow ( id : StateMachineRunId ) : Boolean
@RPCReturnsObservables abstract fun networkMapFeed ( ) : DataFeed < List < NodeInfo > , MapChange >
abstract fun networkMapSnapshot ( ) : List < NodeInfo >
abstract val networkParameters : NetworkParameters
@RPCReturnsObservables abstract fun networkParametersFeed ( ) : DataFeed < ParametersUpdateInfo ? , ParametersUpdateInfo >
abstract fun nodeDiagnosticInfo ( ) : NodeDiagnosticInfo
abstract fun nodeInfo ( ) : NodeInfo
abstract fun nodeInfoFromParty ( party : AbstractParty ) : NodeInfo ?
abstract fun notaryIdentities ( ) : List < Party >
abstract fun notaryPartyFromX500Name ( x500Name : CordaX500Name ) : Party ?
abstract fun openAttachment ( id : SecureHash ) : InputStream
abstract fun partiesFromName ( query : String , exactMatch : Boolean ) : Set < Party >
abstract fun partyFromKey ( key : PublicKey ) : Party ?
abstract fun queryAttachments ( query : AttachmentQueryCriteria , sorting : AttachmentSort ? ) : List < AttachmentId >
@RPCReturnsObservables abstract fun < T > reattachFlowWithClientId ( clientId : String ) : FlowHandleWithClientId < T > ?
abstract fun refreshNetworkMapCache ( ) : Unit
abstract fun registeredFlows ( ) : List < String >
abstract fun removeClientId ( clientId : String ) : Boolean
abstract fun removeClientIdAsAdmin ( clientId : String ) : Boolean
abstract fun setFlowsDrainingModeEnabled ( enabled : Boolean ) : Unit
abstract fun shutdown ( ) : Unit
@RPCReturnsObservables abstract fun < T > startFlowDynamic ( logicType : Class < out FlowLogic < T > > , vararg args : Any ? ) : FlowHandle < T >
@RPCReturnsObservables abstract fun < T > startFlowDynamicWithClientId ( clientId : String , logicType : Class < out FlowLogic < T > > , vararg args : Any ? ) : FlowHandleWithClientId < T >
@RPCReturnsObservables abstract fun < T > startTrackedFlowDynamic ( logicType : Class < out FlowLogic < T > > , vararg args : Any ? ) : FlowProgressHandle < T >
@RPCReturnsObservables abstract fun stateMachineRecordedTransactionMappingFeed ( ) : DataFeed < List < StateMachineTransactionMapping > , StateMachineTransactionMapping >
abstract fun stateMachineRecordedTransactionMappingSnapshot ( ) : List < StateMachineTransactionMapping >
@RPCReturnsObservables abstract fun stateMachinesFeed ( ) : DataFeed < List < StateMachineInfo > , StateMachineUpdate >
abstract fun stateMachinesSnapshot ( ) : List < StateMachineInfo >
abstract fun terminate ( drainPendingFlows : Boolean = false) : Unit
abstract fun uploadAttachment ( jar : InputStream ) : SecureHash
abstract fun uploadAttachmentWithMetadata ( jar : InputStream , uploader : String , filename : String ) : SecureHash
abstract fun < T : ContractState > vaultQuery ( contractStateType : Class < out T > ) : Page < T >
@RPCReturnsObservables abstract fun < T : ContractState > vaultQueryBy ( criteria : QueryCriteria , paging : PageSpecification , sorting : Sort , contractStateType : Class < out T > ) : Page < T >
abstract fun < T : ContractState > vaultQueryByCriteria ( criteria : QueryCriteria , contractStateType : Class < out T > ) : Page < T >
abstract fun < T : ContractState > vaultQueryByWithPagingSpec ( contractStateType : Class < out T > , criteria : QueryCriteria , paging : PageSpecification ) : Page < T >
abstract fun < T : ContractState > vaultQueryByWithSorting ( contractStateType : Class < out T > , criteria : QueryCriteria , sorting : Sort ) : Page < T >
abstract fun < T : ContractState > vaultTrack ( contractStateType : Class < out T > ) : DataFeed < Page < T > , Update < T > >
@RPCReturnsObservables abstract fun < T : ContractState > vaultTrackBy ( criteria : QueryCriteria , paging : PageSpecification , sorting : Sort , contractStateType : Class < out T > ) : DataFeed < Page < T > , Update < T > >
abstract fun < T : ContractState > vaultTrackByCriteria ( contractStateType : Class < out T > , criteria : QueryCriteria ) : DataFeed < Page < T > , Update < T > >
abstract fun < T : ContractState > vaultTrackByWithPagingSpec ( contractStateType : Class < out T > , criteria : QueryCriteria , paging : PageSpecification ) : DataFeed < Page < T > , Update < T > >
abstract fun < T : ContractState > vaultTrackByWithSorting ( contractStateType : Class < out T > , criteria : QueryCriteria , sorting : Sort ) : DataFeed < Page < T > , Update < T > >
@RPCReturnsObservables abstract fun waitUntilNetworkReady ( ) : CordaFuture < Void ? >
abstract fun wellKnownPartyFromAnonymous ( party : AbstractParty ) : Party ?
abstract fun wellKnownPartyFromX500Name ( x500Name : CordaX500Name ) : Party ?
data class DataFeed < out A , B >
@DoNotImplement interface FlowHandle < A > : AutoCloseable
data class FlowHandleImpl < A > : FlowHandle < A >
interface FlowHandleWithClientId < A > : FlowHandle < A >
data class FlowHandleWithClientIdImpl < A > : FlowHandleWithClientId < A >
typealias FlowInfo = StateMachineInfo
interface FlowProgressHandle < A > : FlowHandle < A >
data class FlowProgressHandleImpl < A > : FlowProgressHandle < A >
Module Contents
FlowProgressHandleImpl ( id : StateMachineRunId , returnValue : CordaFuture < A > , progress : <ERROR CLASS> < String > , stepsTreeIndexFeed : DataFeed < Int , Int > ? = null, stepsTreeFeed : DataFeed < List < <ERROR CLASS> < Int , String > > , List < <ERROR CLASS> < Int , String > > > ? = null)
fun close ( ) : Unit
fun copy ( id : StateMachineRunId , returnValue : CordaFuture < A > , progress : <ERROR CLASS> < String > ) : FlowProgressHandleImpl < A >
val id : StateMachineRunId
val progress : <ERROR CLASS> < String >
val returnValue : CordaFuture < A >
val stepsTreeFeed : DataFeed < List < <ERROR CLASS> < Int , String > > , List < <ERROR CLASS> < Int , String > > > ?
val stepsTreeIndexFeed : DataFeed < Int , Int > ?
interface MessageRecipientGroup : MessageRecipients
interface MessageRecipients
data class ParametersUpdateInfo
@DoNotImplement interface RPCOps
@Target ( [AnnotationTarget.FUNCTION]) annotation class RPCReturnsObservables
interface SingleMessageRecipient : MessageRecipients
data class StateMachineInfo
Module Contents
StateMachineInfo ( id : StateMachineRunId , flowLogicClassName : String , initiator : FlowInitiator , progressTrackerStepAndUpdates : DataFeed < String , String > ? , invocationContext : InvocationContext = initiator.invocationContext)
fun copy ( id : StateMachineRunId = this.id, flowLogicClassName : String = this.flowLogicClassName, initiator : FlowInitiator = this.initiator, progressTrackerStepAndUpdates : DataFeed < String , String > ? = this.progressTrackerStepAndUpdates) : StateMachineInfo
val flowLogicClassName : String
val id : StateMachineRunId
val initiator : FlowInitiator
val invocationContext : InvocationContext
val progressTrackerStepAndUpdates : DataFeed < String , String > ?
fun toString ( ) : String
data class StateMachineTransactionMapping
sealed class StateMachineUpdate
fun CordaRPCOps . pendingFlowsCount ( ) : DataFeed < Int , <ERROR CLASS> < Int , Int > >
inline fun < T , reified R : FlowLogic < T > > CordaRPCOps . startFlow ( flowConstructor : ( ) -> R ) : FlowHandle < T >
inline fun < T , A , reified R : FlowLogic < T > > CordaRPCOps . startFlow ( flowConstructor : ( A ) -> R , arg0 : A ) : FlowHandle < T >
inline fun < T , A , B , reified R : FlowLogic < T > > CordaRPCOps . startFlow ( flowConstructor : ( A , B ) -> R , arg0 : A , arg1 : B ) : FlowHandle < T >
inline fun < T , A , B , C , reified R : FlowLogic < T > > CordaRPCOps . startFlow ( flowConstructor : ( A , B , C ) -> R , arg0 : A , arg1 : B , arg2 : C ) : FlowHandle < T >
inline fun < T , A , B , C , D , reified R : FlowLogic < T > > CordaRPCOps . startFlow ( flowConstructor : ( A , B , C , D ) -> R , arg0 : A , arg1 : B , arg2 : C , arg3 : D ) : FlowHandle < T >
inline fun < T , A , B , C , D , E , reified R : FlowLogic < T > > CordaRPCOps . startFlow ( flowConstructor : ( A , B , C , D , E ) -> R , arg0 : A , arg1 : B , arg2 : C , arg3 : D , arg4 : E ) : FlowHandle < T >
inline fun < T , A , B , C , D , E , F , reified R : FlowLogic < T > > CordaRPCOps . startFlow ( flowConstructor : ( A , B , C , D , E , F ) -> R , arg0 : A , arg1 : B , arg2 : C , arg3 : D , arg4 : E , arg5 : F ) : FlowHandle < T >
inline fun < T , reified R : FlowLogic < T > > CordaRPCOps . startFlowWithClientId ( clientId : String , flowConstructor : ( ) -> R ) : FlowHandleWithClientId < T >
inline fun < T , A , reified R : FlowLogic < T > > CordaRPCOps . startFlowWithClientId ( clientId : String , flowConstructor : ( A ) -> R , arg0 : A ) : FlowHandleWithClientId < T >
inline fun < T , A , B , reified R : FlowLogic < T > > CordaRPCOps . startFlowWithClientId ( clientId : String , flowConstructor : ( A , B ) -> R , arg0 : A , arg1 : B ) : FlowHandleWithClientId < T >
inline fun < T , A , B , C , reified R : FlowLogic < T > > CordaRPCOps . startFlowWithClientId ( clientId : String , flowConstructor : ( A , B , C ) -> R , arg0 : A , arg1 : B , arg2 : C ) : FlowHandleWithClientId < T >
inline fun < T , A , B , C , D , reified R : FlowLogic < T > > CordaRPCOps . startFlowWithClientId ( clientId : String , flowConstructor : ( A , B , C , D ) -> R , arg0 : A , arg1 : B , arg2 : C , arg3 : D ) : FlowHandleWithClientId < T >
inline fun < T , A , B , C , D , E , reified R : FlowLogic < T > > CordaRPCOps . startFlowWithClientId ( clientId : String , flowConstructor : ( A , B , C , D , E ) -> R , arg0 : A , arg1 : B , arg2 : C , arg3 : D , arg4 : E ) : FlowHandleWithClientId < T >
inline fun < T , A , B , C , D , E , F , reified R : FlowLogic < T > > CordaRPCOps . startFlowWithClientId ( clientId : String , flowConstructor : ( A , B , C , D , E , F ) -> R , arg0 : A , arg1 : B , arg2 : C , arg3 : D , arg4 : E , arg5 : F ) : FlowHandleWithClientId < T >
inline fun < T , reified R : FlowLogic < T > > CordaRPCOps . startTrackedFlow ( flowConstructor : ( ) -> R ) : FlowProgressHandle < T >
inline fun < T , A , reified R : FlowLogic < T > > CordaRPCOps . startTrackedFlow ( flowConstructor : ( A ) -> R , arg0 : A ) : FlowProgressHandle < T >
inline fun < T , A , B , reified R : FlowLogic < T > > CordaRPCOps . startTrackedFlow ( flowConstructor : ( A , B ) -> R , arg0 : A , arg1 : B ) : FlowProgressHandle < T >
inline fun < T , A , B , C , reified R : FlowLogic < T > > CordaRPCOps . startTrackedFlow ( flowConstructor : ( A , B , C ) -> R , arg0 : A , arg1 : B , arg2 : C ) : FlowProgressHandle < T >
inline fun < T , A , B , C , D , reified R : FlowLogic < T > > CordaRPCOps . startTrackedFlow ( flowConstructor : ( A , B , C , D ) -> R , arg0 : A , arg1 : B , arg2 : C , arg3 : D ) : FlowProgressHandle < T >
inline fun < T , A , B , C , D , E , reified R : FlowLogic < T > > CordaRPCOps . startTrackedFlow ( flowConstructor : ( A , B , C , D , E ) -> R , arg0 : A , arg1 : B , arg2 : C , arg3 : D , arg4 : E ) : FlowProgressHandle < T >
inline fun < T , A , B , C , D , E , F , reified R : FlowLogic < T > > CordaRPCOps . startTrackedFlow ( flowConstructor : ( A , B , C , D , E , F ) -> R , arg0 : A , arg1 : B , arg2 : C , arg3 : D , arg4 : E , arg5 : F ) : FlowProgressHandle < T >
inline fun < reified T : ContractState > CordaRPCOps . vaultQueryBy ( criteria : QueryCriteria = QueryCriteria.VaultQueryCriteria(), paging : PageSpecification = PageSpecification(), sorting : Sort = Sort(emptySet())) : Page < T >
inline fun < reified T : ContractState > CordaRPCOps . vaultTrackBy ( criteria : QueryCriteria = QueryCriteria.VaultQueryCriteria(), paging : PageSpecification = PageSpecification(), sorting : Sort = Sort(emptySet())) : DataFeed < Page < T > , Update < T > >
package net.corda.core.node
Module Contents
interface AppServiceHub : ServiceHub
@Target ( [AnnotationTarget.PROPERTY]) annotation class AutoAcceptable
data class NetworkParameters
Module Contents
NetworkParameters ( minimumPlatformVersion : Int , notaries : List < NotaryInfo > , maxMessageSize : Int , maxTransactionSize : Int , modifiedTime : Instant , epoch : Int , whitelistedContractImplementations : Map < String , List < AttachmentId > > )
NetworkParameters ( minimumPlatformVersion : Int , notaries : List < NotaryInfo > , maxMessageSize : Int , maxTransactionSize : Int , modifiedTime : Instant , epoch : Int , whitelistedContractImplementations : Map < String , List < AttachmentId > > , eventHorizon : Duration )
NetworkParameters ( minimumPlatformVersion : Int , notaries : List < NotaryInfo > , maxMessageSize : Int , maxTransactionSize : Int , modifiedTime : Instant , epoch : Int , whitelistedContractImplementations : Map < String , List < AttachmentId > > , eventHorizon : Duration , packageOwnership : Map < String , PublicKey > )
fun copy ( minimumPlatformVersion : Int = this.minimumPlatformVersion, notaries : List < NotaryInfo > = this.notaries, maxMessageSize : Int = this.maxMessageSize, maxTransactionSize : Int = this.maxTransactionSize, modifiedTime : Instant = this.modifiedTime, epoch : Int = this.epoch, whitelistedContractImplementations : Map < String , List < AttachmentId > > = this.whitelistedContractImplementations, eventHorizon : Duration = this.eventHorizon) : NetworkParameters
fun copy ( minimumPlatformVersion : Int = this.minimumPlatformVersion, notaries : List < NotaryInfo > = this.notaries, maxMessageSize : Int = this.maxMessageSize, maxTransactionSize : Int = this.maxTransactionSize, modifiedTime : Instant = this.modifiedTime, epoch : Int = this.epoch, whitelistedContractImplementations : Map < String , List < AttachmentId > > = this.whitelistedContractImplementations) : NetworkParameters
val epoch : Int
val eventHorizon : Duration
val maxMessageSize : Int
val maxTransactionSize : Int
val minimumPlatformVersion : Int
val modifiedTime : Instant
val notaries : List < NotaryInfo >
val packageOwnership : Map < String , PublicKey >
fun toString ( ) : String
val whitelistedContractImplementations : Map < String , List < AttachmentId > >
data class NodeDiagnosticInfo
data class NodeInfo
data class NotaryInfo
interface ServiceHub : ServicesForResolution
Module Contents
open fun addSignature ( signedTransaction : SignedTransaction , publicKey : PublicKey ) : SignedTransaction
open fun addSignature ( signedTransaction : SignedTransaction ) : SignedTransaction
abstract val clock : Clock
abstract val contractUpgradeService : ContractUpgradeService
abstract fun < T : SerializeAsToken > cordaService ( type : Class < T > ) : T
open fun createSignature ( signedTransaction : SignedTransaction , publicKey : PublicKey ) : TransactionSignature
open fun createSignature ( signedTransaction : SignedTransaction ) : TransactionSignature
open fun createSignature ( filteredTransaction : FilteredTransaction , publicKey : PublicKey ) : TransactionSignature
open fun createSignature ( filteredTransaction : FilteredTransaction ) : TransactionSignature
abstract val diagnosticsService : DiagnosticsService
open fun getAppContext ( ) : CordappContext
abstract fun jdbcSession ( ) : Connection
abstract val keyManagementService : KeyManagementService
abstract val myInfo : NodeInfo
abstract val networkMapCache : NetworkMapCache
open fun recordTransactions ( notifyVault : Boolean , txs : Iterable < SignedTransaction > ) : Unit
open fun recordTransactions ( notifyVault : Boolean , first : SignedTransaction , vararg remaining : SignedTransaction ) : Unit
abstract fun recordTransactions ( statesToRecord : StatesToRecord , txs : Iterable < SignedTransaction > ) : Unit
open fun recordTransactions ( first : SignedTransaction , vararg remaining : SignedTransaction ) : Unit
open fun recordTransactions ( txs : Iterable < SignedTransaction > ) : Unit
abstract fun registerUnloadHandler ( runOnStop : ( ) -> Unit ) : Unit
open fun signInitialTransaction ( builder : TransactionBuilder , publicKey : PublicKey ) : SignedTransaction
open fun signInitialTransaction ( builder : TransactionBuilder ) : SignedTransaction
open fun signInitialTransaction ( builder : TransactionBuilder , signingPubKeys : Iterable < PublicKey > ) : SignedTransaction
open fun < T : ContractState > toStateAndRef ( stateRef : StateRef ) : StateAndRef < T >
abstract val validatedTransactions : TransactionStorage
abstract val vaultService : VaultService
abstract fun < T > withEntityManager ( block : <ERROR CLASS> . ( ) -> T ) : T
abstract fun withEntityManager ( block : Consumer < <ERROR CLASS> > ) : Unit
@DoNotImplement interface ServicesForResolution
enum class StatesToRecord
class ZoneVersionTooLowException : CordaRuntimeException
package net.corda.core.node.services
Module Contents
typealias AttachmentFixup = <ERROR CLASS> < Set < AttachmentId > , Set < AttachmentId > >
typealias AttachmentId = SecureHash
@DoNotImplement interface AttachmentStorage
@DoNotImplement interface ContractUpgradeService
@Target ( [AnnotationTarget.CLASS]) annotation class CordaService
class CordaServiceCriticalFailureException : Exception
@DoNotImplement interface IdentityService
@DoNotImplement interface KeyManagementService
const val MAX_CONSTRAINT_DATA_SIZE : Int
interface NetworkMapCache : NetworkMapCacheBase
@DoNotImplement interface NetworkMapCacheBase
@DoNotImplement interface NetworkParametersService
sealed class PartyInfo
enum class ServiceLifecycleEvent
@FunctionalInterface interface ServiceLifecycleObserver
class StatesNotAvailableException : FlowException
class TimeWindowChecker
@DoNotImplement interface TransactionStorage
class UnknownAnonymousPartyException : CordaException
class Vault < out T : ContractState >
Module Contents
Vault ( states : Iterable < StateAndRef < T > > )
data class ConstraintInfo
val NoNotaryUpdate : <ERROR CLASS>
val NoUpdate : <ERROR CLASS>
data class Page < out T : ContractState >
enum class RelevancyStatus
data class StateMetadata
Module Contents
StateMetadata ( ref : StateRef , contractStateClassName : String , recordedTime : Instant , consumedTime : Instant ? , status : StateStatus , notary : AbstractParty ? , lockId : String ? , lockUpdateTime : Instant ? , relevancyStatus : RelevancyStatus ? = null, constraintInfo : ConstraintInfo ? = null)
val constraintInfo : ConstraintInfo ?
val consumedTime : Instant ?
val contractStateClassName : String
fun copy ( ref : StateRef = this.ref, contractStateClassName : String = this.contractStateClassName, recordedTime : Instant = this.recordedTime, consumedTime : Instant ? = this.consumedTime, status : StateStatus = this.status, notary : AbstractParty ? = this.notary, lockId : String ? = this.lockId, lockUpdateTime : Instant ? = this.lockUpdateTime) : StateMetadata
fun copy ( ref : StateRef = this.ref, contractStateClassName : String = this.contractStateClassName, recordedTime : Instant = this.recordedTime, consumedTime : Instant ? = this.consumedTime, status : StateStatus = this.status, notary : AbstractParty ? = this.notary, lockId : String ? = this.lockId, lockUpdateTime : Instant ? = this.lockUpdateTime, relevancyStatus : RelevancyStatus ? ) : StateMetadata
val lockId : String ?
val lockUpdateTime : Instant ?
val notary : AbstractParty ?
val recordedTime : Instant
val ref : StateRef
val relevancyStatus : RelevancyStatus ?
val status : StateStatus
enum class StateStatus
data class Update < U : ContractState >
enum class UpdateType
val states : Iterable < StateAndRef < T > >
class VaultQueryException : FlowException
@DoNotImplement interface VaultService
Module Contents
abstract fun < T : ContractState > _queryBy ( criteria : QueryCriteria , paging : PageSpecification , sorting : Sort , contractStateType : Class < out T > ) : Page < T >
abstract fun < T : ContractState > _trackBy ( criteria : QueryCriteria , paging : PageSpecification , sorting : Sort , contractStateType : Class < out T > ) : DataFeed < Page < T > , Update < T > >
abstract fun addNoteToTransaction ( txnId : SecureHash , noteText : String ) : Unit
abstract fun getTransactionNotes ( txnId : SecureHash ) : Iterable < String >
open fun < T : ContractState > queryBy ( contractStateType : Class < out T > ) : Page < T >
open fun < T : ContractState > queryBy ( contractStateType : Class < out T > , criteria : QueryCriteria ) : Page < T >
open fun < T : ContractState > queryBy ( contractStateType : Class < out T > , paging : PageSpecification ) : Page < T >
open fun < T : ContractState > queryBy ( contractStateType : Class < out T > , criteria : QueryCriteria , paging : PageSpecification ) : Page < T >
open fun < T : ContractState > queryBy ( contractStateType : Class < out T > , criteria : QueryCriteria , sorting : Sort ) : Page < T >
open fun < T : ContractState > queryBy ( contractStateType : Class < out T > , criteria : QueryCriteria , paging : PageSpecification , sorting : Sort ) : Page < T >
abstract val rawUpdates : <ERROR CLASS> < Update < ContractState > >
abstract fun softLockRelease ( lockId : UUID , stateRefs : NonEmptySet < StateRef > ? = null) : Unit
abstract fun softLockReserve ( lockId : UUID , stateRefs : NonEmptySet < StateRef > ) : Unit
open fun < T : ContractState > trackBy ( contractStateType : Class < out T > ) : DataFeed < Page < T > , Update < T > >
open fun < T : ContractState > trackBy ( contractStateType : Class < out T > , criteria : QueryCriteria ) : DataFeed < Page < T > , Update < T > >
open fun < T : ContractState > trackBy ( contractStateType : Class < out T > , paging : PageSpecification ) : DataFeed < Page < T > , Update < T > >
open fun < T : ContractState > trackBy ( contractStateType : Class < out T > , criteria : QueryCriteria , paging : PageSpecification ) : DataFeed < Page < T > , Update < T > >
open fun < T : ContractState > trackBy ( contractStateType : Class < out T > , criteria : QueryCriteria , sorting : Sort ) : DataFeed < Page < T > , Update < T > >
open fun < T : ContractState > trackBy ( contractStateType : Class < out T > , criteria : QueryCriteria , paging : PageSpecification , sorting : Sort ) : DataFeed < Page < T > , Update < T > >
abstract fun < T : FungibleState < * > > tryLockFungibleStatesForSpending ( lockId : UUID , eligibleStatesQuery : QueryCriteria , amount : Amount < * > , contractStateType : Class < out T > ) : List < StateAndRef < T > >
abstract val updates : <ERROR CLASS> < Update < ContractState > >
open fun whenConsumed ( ref : StateRef ) : CordaFuture < Update < ContractState > >
inline fun < reified T : ContractState > VaultService . queryBy ( ) : Page < T >
inline fun < reified T : ContractState > VaultService . queryBy ( criteria : QueryCriteria ) : Page < T >
inline fun < reified T : ContractState > VaultService . queryBy ( paging : PageSpecification ) : Page < T >
inline fun < reified T : ContractState > VaultService . queryBy ( criteria : QueryCriteria , paging : PageSpecification ) : Page < T >
inline fun < reified T : ContractState > VaultService . queryBy ( criteria : QueryCriteria , sorting : Sort ) : Page < T >
inline fun < reified T : ContractState > VaultService . queryBy ( criteria : QueryCriteria , paging : PageSpecification , sorting : Sort ) : Page < T >
inline fun < reified T : ContractState > VaultService . trackBy ( ) : DataFeed < Page < T > , Update < T > >
inline fun < reified T : ContractState > VaultService . trackBy ( paging : PageSpecification ) : DataFeed < Page < T > , Update < T > >
inline fun < reified T : ContractState > VaultService . trackBy ( criteria : QueryCriteria ) : DataFeed < Page < T > , Update < T > >
inline fun < reified T : ContractState > VaultService . trackBy ( criteria : QueryCriteria , paging : PageSpecification ) : DataFeed < Page < T > , Update < T > >
inline fun < reified T : ContractState > VaultService . trackBy ( criteria : QueryCriteria , sorting : Sort ) : DataFeed < Page < T > , Update < T > >
inline fun < reified T : ContractState > VaultService . trackBy ( criteria : QueryCriteria , paging : PageSpecification , sorting : Sort ) : DataFeed < Page < T > , Update < T > >
package net.corda.core.node.services.diagnostics
package net.corda.core.node.services.vault
Module Contents
enum class AggregateFunctionType
sealed class AttachmentQueryCriteria : GenericQueryCriteria < AttachmentQueryCriteria , AttachmentsQueryCriteriaParser > , ChainableQueryCriteria < AttachmentQueryCriteria , AttachmentsQueryCriteriaParser >
Module Contents
class AndComposition : AttachmentQueryCriteria , AndVisitor < AttachmentQueryCriteria , AttachmentsQueryCriteriaParser , AttachmentSort >
data class AttachmentsQueryCriteria : AttachmentQueryCriteria
Module Contents
AttachmentsQueryCriteria ( uploaderCondition : ColumnPredicate < String > ? = null, filenameCondition : ColumnPredicate < String > ? = null, uploadDateCondition : ColumnPredicate < Instant > ? = null)
AttachmentsQueryCriteria ( uploaderCondition : ColumnPredicate < String > ? )
AttachmentsQueryCriteria ( uploaderCondition : ColumnPredicate < String > ? , filenameCondition : ColumnPredicate < String > ? )
AttachmentsQueryCriteria ( uploaderCondition : ColumnPredicate < String > ? = null, filenameCondition : ColumnPredicate < String > ? = null, uploadDateCondition : ColumnPredicate < Instant > ? = null, contractClassNamesCondition : ColumnPredicate < List < ContractClassName > > ? = null, signersCondition : ColumnPredicate < List < PublicKey > > ? = null, isSignedCondition : ColumnPredicate < Boolean > ? = null, versionCondition : ColumnPredicate < Int > ? = null)
val contractClassNamesCondition : ColumnPredicate < List < ContractClassName > > ?
fun copy ( uploaderCondition : ColumnPredicate < String > ? = this.uploaderCondition, filenameCondition : ColumnPredicate < String > ? = this.filenameCondition, uploadDateCondition : ColumnPredicate < Instant > ? = this.uploadDateCondition) : AttachmentsQueryCriteria
val filenameCondition : ColumnPredicate < String > ?
fun isSigned ( isSignedPredicate : ColumnPredicate < Boolean > ) : AttachmentsQueryCriteria
val isSignedCondition : ColumnPredicate < Boolean > ?
val signersCondition : ColumnPredicate < List < PublicKey > > ?
val uploadDateCondition : ColumnPredicate < Instant > ?
val uploaderCondition : ColumnPredicate < String > ?
val versionCondition : ColumnPredicate < Int > ?
fun visit ( parser : AttachmentsQueryCriteriaParser ) : Collection < <ERROR CLASS> >
fun withContractClassNames ( contractClassNamesPredicate : ColumnPredicate < List < ContractClassName > > ) : AttachmentsQueryCriteria
fun withFilename ( filenamePredicate : ColumnPredicate < String > ) : AttachmentsQueryCriteria
fun withSigners ( signersPredicate : ColumnPredicate < List < PublicKey > > ) : AttachmentsQueryCriteria
fun withUploadDate ( uploadDatePredicate : ColumnPredicate < Instant > ) : AttachmentsQueryCriteria
fun withUploader ( uploaderPredicate : ColumnPredicate < String > ) : AttachmentsQueryCriteria
fun withVersion ( versionPredicate : ColumnPredicate < Int > ) : AttachmentsQueryCriteria
class OrComposition : AttachmentQueryCriteria , OrVisitor < AttachmentQueryCriteria , AttachmentsQueryCriteriaParser , AttachmentSort >
open fun and ( criteria : AttachmentQueryCriteria ) : AttachmentQueryCriteria
open fun or ( criteria : AttachmentQueryCriteria ) : AttachmentQueryCriteria
data class AttachmentSort : BaseSort
interface AttachmentsQueryCriteriaParser : BaseQueryCriteriaParser < AttachmentQueryCriteria , AttachmentsQueryCriteriaParser , AttachmentSort >
interface BaseQueryCriteriaParser < Q : GenericQueryCriteria < Q , P > , in P : BaseQueryCriteriaParser < Q , P , S > , in S : BaseSort >
abstract class BaseSort
enum class BinaryComparisonOperator : Operator
enum class BinaryLogicalOperator : Operator
object Builder
Module Contents
fun < O , R > KProperty1 < O , R ? > . avg ( groupByColumns : List < KProperty1 < O , R > > ? = null, orderBy : Direction ? = null) : AggregateFunctionExpression < O , R >
fun < R > Field . avg ( groupByColumns : List < Field > ? = null, orderBy : Direction ? = null) : <ERROR CLASS>
fun < R > FieldInfo . avg ( groupByColumns : List < FieldInfo > ? = null, orderBy : Direction ? = null) : <ERROR CLASS>
fun < O , R : Comparable < R > > KProperty1 < O , R ? > . between ( from : R , to : R ) : ColumnPredicateExpression < O , R >
fun < R : Comparable < R > > Field . between ( from : R , to : R ) : ColumnPredicateExpression < Any , R >
fun < R : Comparable < R > > FieldInfo . between ( from : R , to : R ) : ColumnPredicateExpression < Any , R >
fun < R : Comparable < R > > between ( from : R , to : R ) : Between < R >
fun < R : Comparable < R > > compare ( operator : BinaryComparisonOperator , value : R ) : BinaryComparison < R >
fun < O , R : Comparable < R > > KProperty1 < O , R ? > . comparePredicate ( operator : BinaryComparisonOperator , value : R ) : ColumnPredicateExpression < O , R >
fun < R : Comparable < R > > Field . comparePredicate ( operator : BinaryComparisonOperator , value : R ) : ColumnPredicateExpression < Any , R >
fun < R : Comparable < R > > FieldInfo . comparePredicate ( operator : BinaryComparisonOperator , value : R ) : ColumnPredicateExpression < Any , R >
fun < O , R > KProperty1 < O , R ? > . count ( ) : AggregateFunctionExpression < O , R >
fun Field . count ( ) : AggregateFunctionExpression < Any , Any >
fun FieldInfo . count ( ) : AggregateFunctionExpression < Any , Any >
fun < O , R > KProperty1 < O , R ? > . equal ( value : R , exactMatch : Boolean = true) : ColumnPredicateExpression < O , R >
fun < R > Field . equal ( value : R , exactMatch : Boolean = true) : ColumnPredicateExpression < Any , R >
fun < R > FieldInfo . equal ( value : R , exactMatch : Boolean = true) : ColumnPredicateExpression < Any , R >
fun < R > equal ( value : R , exactMatch : Boolean = true) : EqualityComparison < R >
fun < O , R > KProperty1 < O , R ? > . functionPredicate ( predicate : ColumnPredicate < R > , groupByColumns : List < Column < O , R > > ? = null, orderBy : Direction ? = null) : AggregateFunctionExpression < O , R >
fun < R > Field . functionPredicate ( predicate : ColumnPredicate < R > , groupByColumns : List < Column < Any , R > > ? = null, orderBy : Direction ? = null) : AggregateFunctionExpression < Any , R >
fun < R > FieldInfo . functionPredicate ( predicate : ColumnPredicate < R > , groupByColumns : List < Column < Any , R > > ? = null, orderBy : Direction ? = null) : AggregateFunctionExpression < Any , R >
fun < O , R : Comparable < R > > KProperty1 < O , R ? > . greaterThan ( value : R ) : ColumnPredicateExpression < O , R >
fun < R : Comparable < R > > Field . greaterThan ( value : R ) : ColumnPredicateExpression < Any , R >
fun < R : Comparable < R > > FieldInfo . greaterThan ( value : R ) : ColumnPredicateExpression < Any , R >
fun < R : Comparable < R > > greaterThan ( value : R ) : BinaryComparison < R >
fun < O , R : Comparable < R > > KProperty1 < O , R ? > . greaterThanOrEqual ( value : R ) : ColumnPredicateExpression < O , R >
fun < R : Comparable < R > > Field . greaterThanOrEqual ( value : R ) : ColumnPredicateExpression < Any , R >
fun < R : Comparable < R > > FieldInfo . greaterThanOrEqual ( value : R ) : ColumnPredicateExpression < Any , R >
fun < R : Comparable < R > > greaterThanOrEqual ( value : R ) : BinaryComparison < R >
fun < O , R : Comparable < R > > KProperty1 < O , R ? > . in ( collection : Collection < R > , exactMatch : Boolean = true) : ColumnPredicateExpression < O , R >
fun < R : Comparable < R > > Field . in ( collection : Collection < R > , exactMatch : Boolean = true) : ColumnPredicateExpression < Any , R >
fun < R : Comparable < R > > FieldInfo . in ( collection : Collection < R > , exactMatch : Boolean = true) : ColumnPredicateExpression < Any , R >
fun < R : Comparable < R > > in ( collection : Collection < R > , exactMatch : Boolean = true) : CollectionExpression < R >
fun < R > isNotNull ( ) : NullExpression < R >
fun < R > isNull ( ) : NullExpression < R >
fun < O , R > KProperty1 < O , R ? > . isNull ( ) : ColumnPredicateExpression < O , R >
fun Field . isNull ( ) : ColumnPredicateExpression < Any , Any >
fun FieldInfo . isNull ( ) : ColumnPredicateExpression < Any , Any >
fun < O , R : Comparable < R > > KProperty1 < O , R ? > . lessThan ( value : R ) : ColumnPredicateExpression < O , R >
fun < R : Comparable < R > > Field . lessThan ( value : R ) : ColumnPredicateExpression < Any , R >
fun < R : Comparable < R > > FieldInfo . lessThan ( value : R ) : ColumnPredicateExpression < Any , R >
fun < R : Comparable < R > > lessThan ( value : R ) : BinaryComparison < R >
fun < O , R : Comparable < R > > KProperty1 < O , R ? > . lessThanOrEqual ( value : R ) : ColumnPredicateExpression < O , R >
fun < R : Comparable < R > > Field . lessThanOrEqual ( value : R ) : ColumnPredicateExpression < Any , R >
fun < R : Comparable < R > > FieldInfo . lessThanOrEqual ( value : R ) : ColumnPredicateExpression < Any , R >
fun < R : Comparable < R > > lessThanOrEqual ( value : R ) : BinaryComparison < R >
fun like ( string : String , exactMatch : Boolean = true) : Likeness
fun < O > KProperty1 < O , String ? > . like ( string : String , exactMatch : Boolean = true) : ColumnPredicateExpression < O , String >
fun Field . like ( string : String , exactMatch : Boolean = true) : ColumnPredicateExpression < Any , String >
fun FieldInfo . like ( string : String , exactMatch : Boolean = true) : ColumnPredicateExpression < Any , String >
fun < O , R > KProperty1 < O , R ? > . max ( groupByColumns : List < KProperty1 < O , R > > ? = null, orderBy : Direction ? = null) : AggregateFunctionExpression < O , R >
fun < R > Field . max ( groupByColumns : List < Field > ? = null, orderBy : Direction ? = null) : <ERROR CLASS>
fun < R > FieldInfo . max ( groupByColumns : List < FieldInfo > ? = null, orderBy : Direction ? = null) : <ERROR CLASS>
fun < O , R > KProperty1 < O , R ? > . min ( groupByColumns : List < KProperty1 < O , R > > ? = null, orderBy : Direction ? = null) : AggregateFunctionExpression < O , R >
fun < R > Field . min ( groupByColumns : List < Field > ? = null, orderBy : Direction ? = null) : <ERROR CLASS>
fun < R > FieldInfo . min ( groupByColumns : List < FieldInfo > ? = null, orderBy : Direction ? = null) : <ERROR CLASS>
fun < O , R > KProperty1 < O , R ? > . notEqual ( value : R , exactMatch : Boolean = true) : ColumnPredicateExpression < O , R >
fun < R > Field . notEqual ( value : R , exactMatch : Boolean = true) : ColumnPredicateExpression < Any , R >
fun < R > FieldInfo . notEqual ( value : R , exactMatch : Boolean = true) : ColumnPredicateExpression < Any , R >
fun < R > notEqual ( value : R , exactMatch : Boolean = true) : EqualityComparison < R >
fun < O , R : Comparable < R > > KProperty1 < O , R ? > . notIn ( collection : Collection < R > , exactMatch : Boolean = true) : ColumnPredicateExpression < O , R >
fun < R : Comparable < R > > Field . notIn ( collection : Collection < R > , exactMatch : Boolean = true) : ColumnPredicateExpression < Any , R >
fun < R : Comparable < R > > FieldInfo . notIn ( collection : Collection < R > , exactMatch : Boolean = true) : ColumnPredicateExpression < Any , R >
fun < R : Comparable < R > > notIn ( collection : Collection < R > , exactMatch : Boolean = true) : CollectionExpression < R >
fun notLike ( string : String , exactMatch : Boolean = true) : Likeness
fun < O > KProperty1 < O , String ? > . notLike ( string : String , exactMatch : Boolean = true) : ColumnPredicateExpression < O , String >
fun Field . notLike ( string : String , exactMatch : Boolean = true) : ColumnPredicateExpression < Any , String >
fun FieldInfo . notLike ( string : String , exactMatch : Boolean = true) : ColumnPredicateExpression < Any , String >
fun < O , R > KProperty1 < O , R ? > . notNull ( ) : ColumnPredicateExpression < O , R >
fun Field . notNull ( ) : ColumnPredicateExpression < Any , Any >
fun FieldInfo . notNull ( ) : ColumnPredicateExpression < Any , Any >
fun < O , R > KProperty1 < O , R ? > . predicate ( predicate : ColumnPredicate < R > ) : ColumnPredicateExpression < O , R >
fun < R > Field . predicate ( predicate : ColumnPredicate < R > ) : ColumnPredicateExpression < Any , R >
fun < R > FieldInfo . predicate ( predicate : ColumnPredicate < R > ) : ColumnPredicateExpression < Any , R >
fun < O , R > KProperty1 < O , R ? > . sum ( groupByColumns : List < KProperty1 < O , R > > ? = null, orderBy : Direction ? = null) : AggregateFunctionExpression < O , R >
fun < R > Field . sum ( groupByColumns : List < Field > ? = null, orderBy : Direction ? = null) : <ERROR CLASS>
fun < R > FieldInfo . sum ( groupByColumns : List < FieldInfo > ? = null, orderBy : Direction ? = null) : <ERROR CLASS>
enum class CollectionOperator : Operator
class Column < O , out C >
sealed class ColumnPredicate < C >
@DoNotImplement interface CordaTransactionSupport
sealed class CriteriaExpression < O , out T >
const val DEFAULT_PAGE_NUM : Int
const val DEFAULT_PAGE_SIZE : Int
enum class EqualityComparisonOperator : Operator
class FieldInfo
interface GenericQueryCriteria < Q : GenericQueryCriteria < Q , * > , in P : BaseQueryCriteriaParser < Q , * , * > >
Module Contents
interface ChainableQueryCriteria < Q : GenericQueryCriteria < Q , P > , in P : BaseQueryCriteriaParser < Q , P , * > >
Module Contents
interface AndVisitor < Q : GenericQueryCriteria < Q , P > , in P : BaseQueryCriteriaParser < Q , P , S > , in S : BaseSort > : GenericQueryCriteria < Q , P >
interface OrVisitor < Q : GenericQueryCriteria < Q , P > , in P : BaseQueryCriteriaParser < Q , P , S > , in S : BaseSort > : GenericQueryCriteria < Q , P >
abstract infix fun and ( criteria : Q ) : Q
abstract infix fun or ( criteria : Q ) : Q
abstract fun visit ( parser : P ) : Collection < <ERROR CLASS> >
@DoNotImplement interface IQueryCriteriaParser : BaseQueryCriteriaParser < QueryCriteria , IQueryCriteriaParser , Sort >
enum class LikenessOperator : Operator
const val MAX_PAGE_SIZE : Int
enum class NullOperator : Operator
@DoNotImplement interface Operator
data class PageSpecification
sealed class QueryCriteria : GenericQueryCriteria < QueryCriteria , IQueryCriteriaParser > , ChainableQueryCriteria < QueryCriteria , IQueryCriteriaParser >
Module Contents
class AndComposition : QueryCriteria , AndVisitor < QueryCriteria , IQueryCriteriaParser , Sort >
abstract class CommonQueryCriteria : QueryCriteria
data class FungibleAssetQueryCriteria : CommonQueryCriteria
Module Contents
FungibleAssetQueryCriteria ( participants : List < AbstractParty > ? = null, owner : List < AbstractParty > ? = null, quantity : ColumnPredicate < Long > ? = null, issuer : List < AbstractParty > ? = null, issuerRef : List < OpaqueBytes > ? = null, status : StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes : Set < Class < out ContractState > > ? = null, relevancyStatus : RelevancyStatus )
FungibleAssetQueryCriteria ( participants : List < AbstractParty > ? = null, owner : List < AbstractParty > ? = null, quantity : ColumnPredicate < Long > ? = null, issuer : List < AbstractParty > ? = null, issuerRef : List < OpaqueBytes > ? = null, status : StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes : Set < Class < out ContractState > > ? = null)
FungibleAssetQueryCriteria ( participants : List < AbstractParty > ? = null, owner : List < AbstractParty > ? = null, quantity : ColumnPredicate < Long > ? = null, issuer : List < AbstractParty > ? = null, issuerRef : List < OpaqueBytes > ? = null, status : StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes : Set < Class < out ContractState > > ? = null, relevancyStatus : RelevancyStatus , exactParticipants : List < AbstractParty > ? = null)
val contractStateTypes : Set < Class < out ContractState > > ?
fun copy ( participants : List < AbstractParty > ? = this.participants, owner : List < AbstractParty > ? = this.owner, quantity : ColumnPredicate < Long > ? = this.quantity, issuer : List < AbstractParty > ? = this.issuer, issuerRef : List < OpaqueBytes > ? = this.issuerRef, status : StateStatus = this.status, contractStateTypes : Set < Class < out ContractState > > ? = this.contractStateTypes, relevancyStatus : RelevancyStatus = this.relevancyStatus) : FungibleAssetQueryCriteria
fun copy ( participants : List < AbstractParty > ? = this.participants, owner : List < AbstractParty > ? = this.owner, quantity : ColumnPredicate < Long > ? = this.quantity, issuer : List < AbstractParty > ? = this.issuer, issuerRef : List < OpaqueBytes > ? = this.issuerRef, status : StateStatus = this.status, contractStateTypes : Set < Class < out ContractState > > ? = this.contractStateTypes) : FungibleAssetQueryCriteria
val exactParticipants : List < AbstractParty > ?
val issuer : List < AbstractParty > ?
val issuerRef : List < OpaqueBytes > ?
val owner : List < AbstractParty > ?
val participants : List < AbstractParty > ?
val quantity : ColumnPredicate < Long > ?
val relevancyStatus : RelevancyStatus
val status : StateStatus
fun visit ( parser : IQueryCriteriaParser ) : Collection < <ERROR CLASS> >
fun withContractStateTypes ( contractStateTypes : Set < Class < out ContractState > > ) : FungibleAssetQueryCriteria
fun withExactParticipants ( exactParticipants : List < AbstractParty > ) : FungibleAssetQueryCriteria
fun withIssuer ( issuer : List < AbstractParty > ) : FungibleAssetQueryCriteria
fun withOwner ( owner : List < AbstractParty > ) : FungibleAssetQueryCriteria
fun withParticipants ( participants : List < AbstractParty > ) : FungibleAssetQueryCriteria
fun withQuantity ( quantity : ColumnPredicate < Long > ) : FungibleAssetQueryCriteria
fun withRelevancyStatus ( relevancyStatus : RelevancyStatus ) : FungibleAssetQueryCriteria
fun withStatus ( status : StateStatus ) : FungibleAssetQueryCriteria
fun withissuerRef ( issuerRef : List < OpaqueBytes > ) : FungibleAssetQueryCriteria
data class FungibleStateQueryCriteria : CommonQueryCriteria
data class LinearStateQueryCriteria : CommonQueryCriteria
Module Contents
LinearStateQueryCriteria ( participants : List < AbstractParty > ? = null, uuid : List < UUID > ? = null, externalId : List < String > ? = null, status : StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes : Set < Class < out ContractState > > ? = null, relevancyStatus : RelevancyStatus = Vault.RelevancyStatus.ALL)
LinearStateQueryCriteria ( participants : List < AbstractParty > ? = null, uuid : List < UUID > ? = null, externalId : List < String > ? = null, status : StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes : Set < Class < out ContractState > > ? = null)
LinearStateQueryCriteria ( participants : List < AbstractParty > ? = null, linearId : List < UniqueIdentifier > ? = null, status : StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes : Set < Class < out ContractState > > ? = null, relevancyStatus : RelevancyStatus = Vault.RelevancyStatus.ALL)
LinearStateQueryCriteria ( participants : List < AbstractParty > ? = null, linearId : List < UniqueIdentifier > ? = null, status : StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes : Set < Class < out ContractState > > ? = null)
LinearStateQueryCriteria ( participants : List < AbstractParty > ? = null, uuid : List < UUID > ? = null, externalId : List < String > ? = null, status : StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes : Set < Class < out ContractState > > ? = null, relevancyStatus : RelevancyStatus = Vault.RelevancyStatus.ALL, exactParticipants : List < AbstractParty > ? )
val contractStateTypes : Set < Class < out ContractState > > ?
fun copy ( participants : List < AbstractParty > ? = this.participants, uuid : List < UUID > ? = this.uuid, externalId : List < String > ? = this.externalId, status : StateStatus = this.status, contractStateTypes : Set < Class < out ContractState > > ? = this.contractStateTypes) : LinearStateQueryCriteria
fun copy ( participants : List < AbstractParty > ? = this.participants, uuid : List < UUID > ? = this.uuid, externalId : List < String > ? = this.externalId, status : StateStatus = this.status, contractStateTypes : Set < Class < out ContractState > > ? = this.contractStateTypes, relevancyStatus : RelevancyStatus = this.relevancyStatus) : LinearStateQueryCriteria
val exactParticipants : List < AbstractParty > ?
val externalId : List < String > ?
val participants : List < AbstractParty > ?
val relevancyStatus : RelevancyStatus
val status : StateStatus
val uuid : List < UUID > ?
fun visit ( parser : IQueryCriteriaParser ) : Collection < <ERROR CLASS> >
fun withContractStateTypes ( contractStateTypes : Set < Class < out ContractState > > ) : LinearStateQueryCriteria
fun withExactParticipants ( exactParticipants : List < AbstractParty > ) : LinearStateQueryCriteria
fun withExternalId ( externalId : List < String > ) : LinearStateQueryCriteria
fun withParticipants ( participants : List < AbstractParty > ) : LinearStateQueryCriteria
fun withRelevancyStatus ( relevancyStatus : RelevancyStatus ) : LinearStateQueryCriteria
fun withStatus ( status : StateStatus ) : LinearStateQueryCriteria
fun withUuid ( uuid : List < UUID > ) : LinearStateQueryCriteria
class OrComposition : QueryCriteria , OrVisitor < QueryCriteria , IQueryCriteriaParser , Sort >
data class SoftLockingCondition
enum class SoftLockingType
data class TimeCondition
enum class TimeInstantType
data class VaultCustomQueryCriteria < L : StatePersistable > : CommonQueryCriteria
Module Contents
VaultCustomQueryCriteria ( expression : CriteriaExpression < L , Boolean > , status : StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes : Set < Class < out ContractState > > ? = null)
VaultCustomQueryCriteria ( expression : CriteriaExpression < L , Boolean > , status : StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes : Set < Class < out ContractState > > ? = null, relevancyStatus : RelevancyStatus = Vault.RelevancyStatus.ALL)
val contractStateTypes : Set < Class < out ContractState > > ?
fun copy ( expression : CriteriaExpression < L , Boolean > = this.expression, status : StateStatus = this.status, contractStateTypes : Set < Class < out ContractState > > ? = this.contractStateTypes) : VaultCustomQueryCriteria < L >
val expression : CriteriaExpression < L , Boolean >
val relevancyStatus : RelevancyStatus
val status : StateStatus
fun visit ( parser : IQueryCriteriaParser ) : Collection < <ERROR CLASS> >
fun withContractStateTypes ( contractStateTypes : Set < Class < out ContractState > > ) : VaultCustomQueryCriteria < L >
fun withExpression ( expression : CriteriaExpression < L , Boolean > ) : VaultCustomQueryCriteria < L >
fun withRelevancyStatus ( relevancyStatus : RelevancyStatus ) : VaultCustomQueryCriteria < L >
fun withStatus ( status : StateStatus ) : VaultCustomQueryCriteria < L >
data class VaultQueryCriteria : CommonQueryCriteria
Module Contents
VaultQueryCriteria ( status : StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes : Set < Class < out ContractState > > ? = null, stateRefs : List < StateRef > ? = null, notary : List < AbstractParty > ? = null, softLockingCondition : SoftLockingCondition ? = null, timeCondition : TimeCondition ? = null, relevancyStatus : RelevancyStatus = Vault.RelevancyStatus.ALL, constraintTypes : Set < Type > = emptySet(), constraints : Set < ConstraintInfo > = emptySet(), participants : List < AbstractParty > ? = null, externalIds : List < UUID > = emptyList())
VaultQueryCriteria ( status : StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes : Set < Class < out ContractState > > ? = null, stateRefs : List < StateRef > ? = null, notary : List < AbstractParty > ? = null, softLockingCondition : SoftLockingCondition ? = null, timeCondition : TimeCondition ? = null, relevancyStatus : RelevancyStatus = Vault.RelevancyStatus.ALL, constraintTypes : Set < Type > = emptySet(), constraints : Set < ConstraintInfo > = emptySet(), participants : List < AbstractParty > ? = null)
VaultQueryCriteria ( status : StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes : Set < Class < out ContractState > > ? = null, stateRefs : List < StateRef > ? = null, notary : List < AbstractParty > ? = null, softLockingCondition : SoftLockingCondition ? = null, timeCondition : TimeCondition ? = null)
VaultQueryCriteria ( status : StateStatus )
VaultQueryCriteria ( status : StateStatus , contractStateTypes : Set < Class < out ContractState > > ? )
VaultQueryCriteria ( status : StateStatus , contractStateTypes : Set < Class < out ContractState > > ? , stateRefs : List < StateRef > ? )
VaultQueryCriteria ( status : StateStatus , contractStateTypes : Set < Class < out ContractState > > ? , stateRefs : List < StateRef > ? , notary : List < AbstractParty > ? )
VaultQueryCriteria ( status : StateStatus , contractStateTypes : Set < Class < out ContractState > > ? , stateRefs : List < StateRef > ? , notary : List < AbstractParty > ? , softLockingCondition : SoftLockingCondition ? )
VaultQueryCriteria ( status : StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes : Set < Class < out ContractState > > ? = null, stateRefs : List < StateRef > ? = null, notary : List < AbstractParty > ? = null, softLockingCondition : SoftLockingCondition ? = null, timeCondition : TimeCondition ? = null, relevancyStatus : RelevancyStatus = Vault.RelevancyStatus.ALL, constraintTypes : Set < Type > = emptySet(), constraints : Set < ConstraintInfo > = emptySet(), participants : List < AbstractParty > ? = null, externalIds : List < UUID > = emptyList(), exactParticipants : List < AbstractParty > ? = null)
val constraintTypes : Set < Type >
val constraints : Set < ConstraintInfo >
val contractStateTypes : Set < Class < out ContractState > > ?
fun copy ( status : StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes : Set < Class < out ContractState > > ? = null, stateRefs : List < StateRef > ? = null, notary : List < AbstractParty > ? = null, softLockingCondition : SoftLockingCondition ? = null, timeCondition : TimeCondition ? = null, relevancyStatus : RelevancyStatus = Vault.RelevancyStatus.ALL, constraintTypes : Set < Type > = emptySet(), constraints : Set < ConstraintInfo > = emptySet(), participants : List < AbstractParty > ? = null, externalIds : List < UUID > = emptyList()) : VaultQueryCriteria
fun copy ( status : StateStatus = Vault.StateStatus.UNCONSUMED, contractStateTypes : Set < Class < out ContractState > > ? = null, stateRefs : List < StateRef > ? = null, notary : List < AbstractParty > ? = null, softLockingCondition : SoftLockingCondition ? = null, timeCondition : TimeCondition ? = null, relevancyStatus : RelevancyStatus = Vault.RelevancyStatus.ALL, constraintTypes : Set < Type > = emptySet(), constraints : Set < ConstraintInfo > = emptySet(), participants : List < AbstractParty > ? = null) : VaultQueryCriteria
fun copy ( status : StateStatus = this.status, contractStateTypes : Set < Class < out ContractState > > ? = this.contractStateTypes, stateRefs : List < StateRef > ? = this.stateRefs, notary : List < AbstractParty > ? = this.notary, softLockingCondition : SoftLockingCondition ? = this.softLockingCondition, timeCondition : TimeCondition ? = this.timeCondition) : VaultQueryCriteria
val exactParticipants : List < AbstractParty > ?
val externalIds : List < UUID >
val notary : List < AbstractParty > ?
val participants : List < AbstractParty > ?
val relevancyStatus : RelevancyStatus
val softLockingCondition : SoftLockingCondition ?
val stateRefs : List < StateRef > ?
val status : StateStatus
val timeCondition : TimeCondition ?
fun visit ( parser : IQueryCriteriaParser ) : Collection < <ERROR CLASS> >
fun withConstraintTypes ( constraintTypes : Set < Type > ) : VaultQueryCriteria
fun withConstraints ( constraints : Set < ConstraintInfo > ) : VaultQueryCriteria
fun withContractStateTypes ( contractStateTypes : Set < Class < out ContractState > > ) : VaultQueryCriteria
fun withExactParticipants ( exactParticipants : List < AbstractParty > ) : VaultQueryCriteria
fun withExternalIds ( externalIds : List < UUID > ) : VaultQueryCriteria
fun withNotary ( notary : List < AbstractParty > ) : VaultQueryCriteria
fun withParticipants ( participants : List < AbstractParty > ) : VaultQueryCriteria
fun withRelevancyStatus ( relevancyStatus : RelevancyStatus ) : VaultQueryCriteria
fun withSoftLockingCondition ( softLockingCondition : SoftLockingCondition ) : VaultQueryCriteria
fun withStateRefs ( stateRefs : List < StateRef > ) : VaultQueryCriteria
fun withStatus ( status : StateStatus ) : VaultQueryCriteria
fun withTimeCondition ( timeCondition : TimeCondition ) : VaultQueryCriteria
open fun and ( criteria : QueryCriteria ) : QueryCriteria
open fun or ( criteria : QueryCriteria ) : QueryCriteria
@DoNotImplement interface SessionScope
data class Sort : BaseSort
sealed class SortAttribute
inline fun < A > builder ( block : Builder . ( ) -> A ) : A
fun < O , C > getColumnName ( column : Column < O , C > ) : String
fun getField ( fieldName : String , entityClass : Class < * > ) : FieldInfo
fun < O , C > resolveEnclosingObjectFromColumn ( column : Column < O , C > ) : Class < O >
fun < O , R > resolveEnclosingObjectFromExpression ( expression : CriteriaExpression < O , R > ) : Class < O >
package net.corda.core.observable
package net.corda.core.schemas
package net.corda.core.serialization
package net.corda.core.transactions
Module Contents
@DoNotImplement abstract class BaseTransaction : NamedByHash
open class ComponentGroup
class ComponentVisibilityException : CordaException
data class ContractUpgradeFilteredTransaction : CoreTransaction
Module Contents
ContractUpgradeFilteredTransaction ( visibleComponents : Map < Int , FilteredComponent > , hiddenComponents : Map < Int , SecureHash > )
ContractUpgradeFilteredTransaction ( visibleComponents : Map < Int , FilteredComponent > , hiddenComponents : Map < Int , SecureHash > , digestService : DigestService )
class FilteredComponent
fun copy ( visibleComponents : Map < Int , FilteredComponent > , hiddenComponents : Map < Int , SecureHash > ) : ContractUpgradeFilteredTransaction
val digestService : DigestService
val hiddenComponents : Map < Int , SecureHash >
val id : SecureHash
val inputs : List < StateRef >
val networkParametersHash : SecureHash ?
val notary : Party
val outputs : List < TransactionState < ContractState > >
val references : List < StateRef >
val visibleComponents : Map < Int , FilteredComponent >
class ContractUpgradeLedgerTransaction : FullTransaction , TransactionWithSignatures
Module Contents
ContractUpgradeLedgerTransaction ( inputs : List < StateAndRef < ContractState > > , notary : Party , legacyContractAttachment : Attachment , upgradedContractClassName : ContractClassName , upgradedContractAttachment : Attachment , id : SecureHash , privacySalt : PrivacySalt , sigs : List < TransactionSignature > , networkParameters : NetworkParameters )
operator fun component1 ( ) : List < StateAndRef < ContractState > >
operator fun component2 ( ) : Party
operator fun component3 ( ) : Attachment
operator fun component4 ( ) : ContractClassName
operator fun component5 ( ) : Attachment
operator fun component6 ( ) : SecureHash
operator fun component7 ( ) : PrivacySalt
operator fun component8 ( ) : List < TransactionSignature >
operator fun component9 ( ) : NetworkParameters
fun copy ( inputs : List < StateAndRef < ContractState > > = this.inputs, notary : Party = this.notary, legacyContractAttachment : Attachment = this.legacyContractAttachment, upgradedContractClassName : ContractClassName = this.upgradedContract::class.java.name, upgradedContractAttachment : Attachment = this.upgradedContractAttachment, id : SecureHash = this.id, privacySalt : PrivacySalt = this.privacySalt, sigs : List < TransactionSignature > = this.sigs, networkParameters : NetworkParameters = this.networkParameters) : ContractUpgradeLedgerTransaction
fun equals ( other : Any ? ) : Boolean
fun getKeyDescriptions ( keys : Set < PublicKey > ) : List < String >
fun hashCode ( ) : Int
val id : SecureHash
val inputs : List < StateAndRef < ContractState > >
val legacyContractAttachment : Attachment
val networkParameters : NetworkParameters
val notary : Party
val outputs : List < TransactionState < ContractState > >
val privacySalt : PrivacySalt
val references : List < StateAndRef < ContractState > >
val requiredSigningKeys : Set < PublicKey >
val sigs : List < TransactionSignature >
fun toString ( ) : String
val upgradedContractAttachment : Attachment
val upgradedContractClassName : ContractClassName
data class ContractUpgradeWireTransaction : CoreTransaction
abstract class CoreTransaction : BaseTransaction
data class FilteredComponentGroup : ComponentGroup
class FilteredTransaction : TraversableTransaction
class FilteredTransactionVerificationException : CordaException
abstract class FullTransaction : BaseTransaction
class LedgerTransaction : FullTransaction
Module Contents
LedgerTransaction ( inputs : List < StateAndRef < ContractState > > , outputs : List < TransactionState < ContractState > > , commands : List < CommandWithParties < CommandData > > , attachments : List < Attachment > , id : SecureHash , notary : Party ? , timeWindow : TimeWindow ? , privacySalt : PrivacySalt )
LedgerTransaction ( inputs : List < StateAndRef < ContractState > > , outputs : List < TransactionState < ContractState > > , commands : List < CommandWithParties < CommandData > > , attachments : List < Attachment > , id : SecureHash , notary : Party ? , timeWindow : TimeWindow ? , privacySalt : PrivacySalt , networkParameters : NetworkParameters )
data class InOutGroup < out T : ContractState , out K : Any >
val attachments : List < Attachment >
val commands : List < CommandWithParties < CommandData > >
fun < T : CommandData > commandsOfType ( clazz : Class < T > ) : List < Command < T > >
inline fun < reified T : CommandData > commandsOfType ( ) : List < Command < T > >
operator fun component1 ( ) : List < StateAndRef < ContractState > >
operator fun component10 ( ) : List < StateAndRef < ContractState > >
operator fun component2 ( ) : List < TransactionState < ContractState > >
operator fun component3 ( ) : List < CommandWithParties < CommandData > >
operator fun component4 ( ) : List < Attachment >
operator fun component5 ( ) : SecureHash
operator fun component6 ( ) : Party ?
operator fun component7 ( ) : TimeWindow ?
operator fun component8 ( ) : PrivacySalt
operator fun component9 ( ) : NetworkParameters ?
fun copy ( inputs : List < StateAndRef < ContractState > > , outputs : List < TransactionState < ContractState > > , commands : List < CommandWithParties < CommandData > > , attachments : List < Attachment > , id : SecureHash , notary : Party ? , timeWindow : TimeWindow ? , privacySalt : PrivacySalt ) : LedgerTransaction
fun copy ( inputs : List < StateAndRef < ContractState > > = this.inputs, outputs : List < TransactionState < ContractState > > = this.outputs, commands : List < CommandWithParties < CommandData > > = this.commands, attachments : List < Attachment > = this.attachments, id : SecureHash = this.id, notary : Party ? = this.notary, timeWindow : TimeWindow ? = this.timeWindow, privacySalt : PrivacySalt = this.privacySalt, networkParameters : NetworkParameters ? = this.networkParameters) : LedgerTransaction
@CordaInternal fun createForSandbox ( inputs : List < StateAndRef < ContractState > > , outputs : List < TransactionState < ContractState > > , commands : List < CommandWithParties < CommandData > > , attachments : List < Attachment > , id : SecureHash , notary : Party ? , timeWindow : TimeWindow ? , privacySalt : PrivacySalt , networkParameters : NetworkParameters , references : List < StateAndRef < ContractState > > , digestService : DigestService ) : LedgerTransaction
val digestService : DigestService
fun equals ( other : Any ? ) : Boolean
fun < T : CommandData > filterCommands ( clazz : Class < T > , predicate : Predicate < T > ) : List < Command < T > >
inline fun < reified T : CommandData > filterCommands ( crossinline predicate : ( T ) -> Boolean ) : List < Command < T > >
fun < T : ContractState > filterInRefs ( clazz : Class < T > , predicate : Predicate < T > ) : List < StateAndRef < T > >
inline fun < reified T : ContractState > filterInRefs ( crossinline predicate : ( T ) -> Boolean ) : List < StateAndRef < T > >
fun < T : ContractState > filterInputs ( clazz : Class < T > , predicate : Predicate < T > ) : List < T >
inline fun < reified T : ContractState > filterInputs ( crossinline predicate : ( T ) -> Boolean ) : List < T >
fun < T : ContractState > filterReferenceInputRefs ( clazz : Class < T > , predicate : Predicate < T > ) : List < StateAndRef < T > >
inline fun < reified T : ContractState > filterReferenceInputRefs ( crossinline predicate : ( T ) -> Boolean ) : List < StateAndRef < T > >
fun < T : ContractState > filterReferenceInputs ( clazz : Class < T > , predicate : Predicate < T > ) : List < T >
inline fun < reified T : ContractState > filterReferenceInputs ( crossinline predicate : ( T ) -> Boolean ) : List < T >
fun < T : CommandData > findCommand ( clazz : Class < T > , predicate : Predicate < T > ) : Command < T >
inline fun < reified T : CommandData > findCommand ( crossinline predicate : ( T ) -> Boolean ) : Command < T >
fun < T : ContractState > findInRef ( clazz : Class < T > , predicate : Predicate < T > ) : StateAndRef < T >
inline fun < reified T : ContractState > findInRef ( crossinline predicate : ( T ) -> Boolean ) : StateAndRef < T >
fun < T : ContractState > findInput ( clazz : Class < T > , predicate : Predicate < T > ) : T
inline fun < reified T : ContractState > findInput ( crossinline predicate : ( T ) -> Boolean ) : T
fun < T : ContractState > findReference ( clazz : Class < T > , predicate : Predicate < T > ) : T
inline fun < reified T : ContractState > findReference ( crossinline predicate : ( T ) -> Boolean ) : T
fun < T : ContractState > findReferenceInputRef ( clazz : Class < T > , predicate : Predicate < T > ) : StateAndRef < T >
inline fun < reified T : ContractState > findReferenceInputRef ( crossinline predicate : ( T ) -> Boolean ) : StateAndRef < T >
fun getAttachment ( index : Int ) : Attachment
fun getAttachment ( id : SecureHash ) : Attachment
fun < T : CommandData > getCommand ( index : Int ) : Command < T >
fun getInput ( index : Int ) : ContractState
fun getReferenceInput ( index : Int ) : ContractState
fun < T : ContractState , K : Any > groupStates ( ofType : Class < T > , selector : ( T ) -> K ) : List < InOutGroup < T , K > >
inline fun < reified T : ContractState , K : Any > groupStates ( noinline selector : ( T ) -> K ) : List < InOutGroup < T , K > >
fun hashCode ( ) : Int
val id : SecureHash
fun < T : ContractState > inRef ( index : Int ) : StateAndRef < T >
fun < T : ContractState > inRefsOfType ( clazz : Class < T > ) : List < StateAndRef < T > >
inline fun < reified T : ContractState > inRefsOfType ( ) : List < StateAndRef < T > >
val inputStates : List < ContractState >
val inputs : List < StateAndRef < ContractState > >
fun < T : ContractState > inputsOfType ( clazz : Class < T > ) : List < T >
inline fun < reified T : ContractState > inputsOfType ( ) : List < T >
val networkParameters : NetworkParameters ?
val notary : Party ?
val outputs : List < TransactionState < ContractState > >
val privacySalt : PrivacySalt
fun < T : ContractState > referenceInputRefsOfType ( clazz : Class < T > ) : List < StateAndRef < T > >
inline fun < reified T : ContractState > referenceInputRefsOfType ( ) : List < StateAndRef < T > >
fun < T : ContractState > referenceInputsOfType ( clazz : Class < T > ) : List < T >
inline fun < reified T : ContractState > referenceInputsOfType ( ) : List < T >
val referenceStates : List < ContractState >
val references : List < StateAndRef < ContractState > >
@CordaInternal fun specialise ( alternateVerifier : ( LedgerTransaction , ClassLoader ) -> Verifier ) : LedgerTransaction
val timeWindow : TimeWindow ?
fun toString ( ) : String
@CordaInternal fun < T > transform ( transformer : ( List < ComponentGroup > , List < SerializedStateAndRef > , List < SerializedStateAndRef > ) -> T ) : T
fun verify ( ) : Unit
class MissingContractAttachments : FlowException
data class NetworkParametersHash
class NotaryChangeLedgerTransaction : FullTransaction , TransactionWithSignatures
data class NotaryChangeWireTransaction : CoreTransaction
data class ReferenceStateRef
data class SignedTransaction : TransactionWithSignatures
open class TransactionBuilder
Module Contents
TransactionBuilder ( notary : Party ? = null, lockId : UUID = defaultLockId(), inputs : MutableList < StateRef > = arrayListOf(), attachments : MutableList < AttachmentId > = arrayListOf(), outputs : MutableList < TransactionState < ContractState > > = arrayListOf(), commands : MutableList < Command < * > > = arrayListOf(), window : TimeWindow ? = null, privacySalt : PrivacySalt = PrivacySalt())
TransactionBuilder ( notary : Party )
TransactionBuilder ( notary : Party ? = null, lockId : UUID = defaultLockId(), inputs : MutableList < StateRef > = arrayListOf(), attachments : MutableList < AttachmentId > = arrayListOf(), outputs : MutableList < TransactionState < ContractState > > = arrayListOf(), commands : MutableList < Command < * > > = arrayListOf(), window : TimeWindow ? = null, privacySalt : PrivacySalt = PrivacySalt(), references : MutableList < StateRef > = arrayListOf(), serviceHub : ServiceHub ? = (Strand.currentStrand() as? FlowStateMachine<*>)?.serviceHub)
fun addAttachment ( attachmentId : AttachmentId ) : <ERROR CLASS>
fun addCommand ( arg : Command < * > ) : <ERROR CLASS>
fun addCommand ( data : CommandData , vararg keys : PublicKey ) : <ERROR CLASS>
fun addCommand ( data : CommandData , keys : List < PublicKey > ) : <ERROR CLASS>
open fun addInputState ( stateAndRef : StateAndRef < * > ) : <ERROR CLASS>
fun addOutputState ( state : TransactionState < * > ) : <ERROR CLASS>
fun addOutputState ( state : ContractState , contract : ContractClassName = requireNotNullContractClassName(state), notary : Party , encumbrance : Int ? = null, constraint : AttachmentConstraint = AutomaticPlaceholderConstraint) : TransactionBuilder
fun addOutputState ( state : ContractState , contract : ContractClassName = requireNotNullContractClassName(state), constraint : AttachmentConstraint = AutomaticPlaceholderConstraint) : TransactionBuilder
fun addOutputState ( state : ContractState , constraint : AttachmentConstraint ) : TransactionBuilder
open fun addReferenceState ( referencedStateAndRef : ReferencedStateAndRef < * > ) : <ERROR CLASS>
fun attachments ( ) : List < AttachmentId >
protected val attachments : MutableList < AttachmentId >
fun commands ( ) : List < Command < * > >
protected val commands : MutableList < Command < * > >
fun copy ( ) : TransactionBuilder
fun inputStates ( ) : List < StateRef >
protected val inputs : MutableList < StateRef >
var lockId : UUID
var notary : Party ?
fun outputStates ( ) : List < TransactionState < * > >
protected val outputs : MutableList < TransactionState < ContractState > >
protected var privacySalt : PrivacySalt
fun referenceStates ( ) : List < StateRef >
protected val references : MutableList < StateRef >
protected val serviceHub : ServiceHub ?
fun setPrivacySalt ( privacySalt : PrivacySalt ) : <ERROR CLASS>
fun setTimeWindow ( timeWindow : TimeWindow ) : <ERROR CLASS>
fun setTimeWindow ( time : Instant , timeTolerance : Duration ) : <ERROR CLASS>
fun toLedgerTransaction ( services : ServiceHub ) : LedgerTransaction
fun toSignedTransaction ( keyManagementService : KeyManagementService , publicKey : PublicKey , signatureMetadata : SignatureMetadata , services : ServicesForResolution ) : SignedTransaction
fun toWireTransaction ( services : ServicesForResolution ) : WireTransaction
fun toWireTransaction ( services : ServicesForResolution , schemeId : Int ) : WireTransaction
fun toWireTransaction ( services : ServicesForResolution , schemeId : Int , properties : Map < Any , Any > ) : WireTransaction
fun verify ( services : ServiceHub ) : Unit
protected var window : TimeWindow ?
fun withItems ( vararg items : Any ) : <ERROR CLASS>
@DoNotImplement interface TransactionWithSignatures : NamedByHash
abstract class TraversableTransaction : CoreTransaction
class WireTransaction : TraversableTransaction
Module Contents
WireTransaction ( componentGroups : List < ComponentGroup > )
WireTransaction ( componentGroups : List < ComponentGroup > , privacySalt : PrivacySalt = PrivacySalt())
WireTransaction ( inputs : List < StateRef > , attachments : List < SecureHash > , outputs : List < TransactionState < ContractState > > , commands : List < Command < * > > , notary : Party ? , timeWindow : TimeWindow ? , privacySalt : PrivacySalt = PrivacySalt())
WireTransaction ( componentGroups : List < ComponentGroup > , privacySalt : PrivacySalt , digestService : DigestService )
fun buildFilteredTransaction ( filtering : Predicate < Any > ) : FilteredTransaction
fun checkSignature ( sig : TransactionSignature ) : Unit
@CordaInternal fun createComponentGroups ( inputs : List < StateRef > , outputs : List < TransactionState < ContractState > > , commands : List < Command < * > > , attachments : List < SecureHash > , notary : Party ? , timeWindow : TimeWindow ? ) : List < ComponentGroup >
fun equals ( other : Any ? ) : Boolean
fun hashCode ( ) : Int
val id : SecureHash
val merkleTree : MerkleTree
val privacySalt : PrivacySalt
val requiredSigningKeys : Set < PublicKey >
@CordaInternal fun resolveStateRefBinaryComponent ( stateRef : StateRef , services : ServicesForResolution ) : SerializedBytes < TransactionState < ContractState > > ?
fun toLedgerTransaction ( services : ServicesForResolution ) : LedgerTransaction
fun toLedgerTransaction ( resolveIdentity : ( PublicKey ) -> Party ? , resolveAttachment : ( SecureHash ) -> Attachment ? , resolveStateRef : ( StateRef ) -> TransactionState < * > ? , resolveContractAttachment : ( TransactionState < ContractState > ) -> AttachmentId ? ) : LedgerTransaction
fun toString ( ) : String
package net.corda.core.utilities
package net.corda.finance
package net.corda.finance.contracts
Module Contents
enum class AccrualAdjustment
interface BilateralNettableState < N : BilateralNettableState < N > >
open class BusinessCalendar
Module Contents
BusinessCalendar ( holidayDates : SortedSet < LocalDate > )
val EMPTY : BusinessCalendar
open fun applyRollConvention ( testDate : LocalDate , dateRollConvention : DateRollConvention ) : LocalDate
fun calculateDaysBetween ( startDate : LocalDate , endDate : LocalDate , dcbYear : DayCountBasisYear , dcbDay : DayCountBasisDay ) : Int
fun createGenericSchedule ( startDate : LocalDate , period : Frequency , calendar : BusinessCalendar = EMPTY, dateRollConvention : DateRollConvention = DateRollConvention.Following, noOfAdditionalPeriods : Int = Integer.MAX_VALUE, endDate : LocalDate ? = null, periodOffset : Int ? = null) : List < LocalDate >
open fun equals ( other : Any ? ) : Boolean
fun getOffsetDate ( startDate : LocalDate , period : Frequency , steps : Int = 1) : LocalDate
open fun hashCode ( ) : Int
val holidayDates : SortedSet < LocalDate >
open fun isWorkingDay ( date : LocalDate ) : Boolean
fun moveBusinessDays ( date : LocalDate , direction : DateRollDirection , i : Int ) : LocalDate
fun parseDateFromString ( it : String ) : LocalDate
operator fun plus ( other : BusinessCalendar ) : BusinessCalendar
open fun toString ( ) : String
const val CP_PROGRAM_ID : String
class CommercialPaper : Contract
data class Commodity : TokenizableAssetInfo
enum class DateRollConvention
enum class DateRollDirection
enum class DayCountBasisDay
enum class DayCountBasisYear
interface DealState : LinearState
data class Expression
data class Fix : CommandData
data class FixOf
interface FixableDealState : DealState
enum class Frequency
interface MultilateralNettableState < out T : Any >
interface NetCommand : CommandData
enum class NetType
interface NettableState < N : BilateralNettableState < N > , out T : Any > : BilateralNettableState < N > , MultilateralNettableState < T >
enum class PaymentRule
data class Tenor
package net.corda.finance.contracts.asset
Module Contents
data class BilateralNetState < P : Any > : NetState < P >
val Amount < Currency > . CASH : State
class Cash : OnLedgerAsset < Currency , Commands , State >
Module Contents
Cash ( )
interface Commands : CommandData
const val PROGRAM_ID : ContractClassName
data class State : FungibleAsset < Currency > , QueryableState
fun deriveState ( txState : TransactionState < State > , amount : Amount < Issued < Currency > > , owner : AbstractParty ) : TransactionState < State >
fun extractCommands ( commands : Collection < CommandWithParties < CommandData > > ) : List < CommandWithParties < Commands > >
fun generateExitCommand ( amount : Amount < Issued < Currency > > ) : Exit
fun generateIssue ( tx : TransactionBuilder , tokenDef : Issued < Currency > , pennies : Long , owner : AbstractParty , notary : Party ) : Set < PublicKey >
fun generateIssue ( tx : TransactionBuilder , amount : Amount < Issued < Currency > > , owner : AbstractParty , notary : Party ) : Set < PublicKey >
fun generateMoveCommand ( ) : Move
fun verify ( tx : LedgerTransaction ) : Unit
data class MultilateralNetState < P : Any > : NetState < P >
interface NetState < P : Any >
class Obligation < P : Any > : Contract
abstract class OnLedgerAsset < T : Any , out C : CommandData , S : FungibleAsset < T > > : Contract
Module Contents
OnLedgerAsset ( )
abstract fun deriveState ( txState : TransactionState < S > , amount : Amount < Issued < T > > , owner : AbstractParty ) : TransactionState < S >
abstract fun extractCommands ( commands : Collection < CommandWithParties < CommandData > > ) : Collection < CommandWithParties < C > >
fun generateExit ( tx : TransactionBuilder , amountIssued : Amount < Issued < T > > , assetStates : List < StateAndRef < S > > ) : Set < PublicKey >
fun generateExit ( tx : TransactionBuilder , amountIssued : Amount < Issued < T > > , assetStates : List < StateAndRef < S > > , payChangeTo : AbstractParty ) : Set < PublicKey >
fun < S : FungibleAsset < T > , T : Any > generateExit ( tx : TransactionBuilder , amountIssued : Amount < Issued < T > > , assetStates : List < StateAndRef < S > > , deriveState : ( TransactionState < S > , Amount < Issued < T > > , AbstractParty ) -> TransactionState < S > , generateMoveCommand : ( ) -> CommandData , generateExitCommand : ( Amount < Issued < T > > ) -> CommandData ) : Set < PublicKey >
fun < S : FungibleAsset < T > , T : Any > generateExit ( tx : TransactionBuilder , amountIssued : Amount < Issued < T > > , assetStates : List < StateAndRef < S > > , payChangeTo : AbstractParty , deriveState : ( TransactionState < S > , Amount < Issued < T > > , AbstractParty ) -> TransactionState < S > , generateMoveCommand : ( ) -> CommandData , generateExitCommand : ( Amount < Issued < T > > ) -> CommandData ) : Set < PublicKey >
abstract fun generateExitCommand ( amount : Amount < Issued < T > > ) : CommandData
fun < S : FungibleAsset < T > , T : Any > generateIssue ( tx : TransactionBuilder , transactionState : TransactionState < S > , issueCommand : CommandData ) : Set < PublicKey >
abstract fun generateMoveCommand ( ) : MoveCommand
fun < S : FungibleAsset < T > , T : Any > generateSpend ( tx : TransactionBuilder , amount : Amount < T > , to : AbstractParty , acceptableStates : List < StateAndRef < S > > , payChangeTo : AbstractParty , deriveState : ( TransactionState < S > , Amount < Issued < T > > , AbstractParty ) -> TransactionState < S > , generateMoveCommand : ( ) -> CommandData ) : <ERROR CLASS> < TransactionBuilder , List < PublicKey > >
fun < S : FungibleAsset < T > , T : Any > generateSpend ( tx : TransactionBuilder , payments : List < PartyAndAmount < T > > , acceptableStates : List < StateAndRef < S > > , payChangeTo : AbstractParty , deriveState : ( TransactionState < S > , Amount < Issued < T > > , AbstractParty ) -> TransactionState < S > , generateMoveCommand : ( ) -> CommandData ) : <ERROR CLASS> < TransactionBuilder , List < PublicKey > >
data class PartyAndAmount < T : Any >
val Amount < Issued < Currency > > . STATE : State
infix fun < T : Any > State < T > . at ( dueBefore : Instant ) : State < T >
infix fun < T : Any > State < T > . between ( parties : <ERROR CLASS> < AbstractParty , AbstractParty > ) : State < T >
fun < P : Any > extractAmountsDue ( : Terms < P > , : Iterable < State < P > > ) : Map < <ERROR CLASS> < AbstractParty , AbstractParty > , Amount < Terms < P > > >
infix fun < T : Any > State < T > . issued by ( party : AbstractParty ) : State < T >
fun < T : Any > State < T > . issuedBy ( party : AnonymousParty ) : State < T >
fun < P : AbstractParty , T : Any > netAmountsDue ( balances : Map < <ERROR CLASS> < P , P > , Amount < T > > ) : Map < <ERROR CLASS> < P , P > , Amount < T > >
infix fun < T : Any > State < T > . owned by ( owner : AbstractParty ) : State < T >
fun < T : Any > State < T > . ownedBy ( owner : AbstractParty ) : State < T >
fun < P : AbstractParty , T : Any > sumAmountsDue ( balances : Map < <ERROR CLASS> < P , P > , Amount < T > > ) : Map < P , Long >
package net.corda.finance.contracts.utils
package net.corda.finance.flows
Module Contents
abstract class AbstractCashFlow < out T > : FlowLogic < T >
class CashException : FlowException
@InitiatingFlow @StartableByRPC class CashExitFlow : AbstractCashFlow < Result >
@InitiatedBy ( CashExitFlow) class CashExitResponderFlow : FlowLogic < Unit >
@StartableByRPC class CashIssueAndPaymentFlow : AbstractCashFlow < Result >
@StartableByRPC class CashIssueFlow : AbstractCashFlow < Result >
@StartableByRPC @InitiatingFlow open class CashPaymentFlow : AbstractCashFlow < Result >
Module Contents
CashPaymentFlow ( amount : Amount < Currency > , recipient : Party )
CashPaymentFlow ( amount : Amount < Currency > , recipient : Party , anonymous : Boolean )
CashPaymentFlow ( amount : Amount < Currency > , recipient : Party , anonymous : Boolean , notary : Party )
CashPaymentFlow ( request : PaymentRequest )
CashPaymentFlow ( amount : Amount < Currency > , recipient : Party , anonymous : Boolean , progressTracker : ProgressTracker , issuerConstraint : Set < Party > = emptySet(), notary : Party ? = null)
class PaymentRequest : AbstractRequest
val amount : Amount < Currency >
val anonymous : Boolean
open fun call ( ) : Result
val issuerConstraint : Set < Party >
val notary : Party ?
val recipient : Party
@InitiatedBy ( CashPaymentFlow) class CashPaymentReceiverFlow : FlowLogic < Unit >
object TwoPartyDealFlow
object TwoPartyTradeFlow
package net.corda.finance.schemas
package net.corda.finance.test
package net.corda.finance.workflows
package net.corda.finance.workflows.asset
Module Contents
object CashUtils
Module Contents
fun generateSpend ( services : ServiceHub , tx : TransactionBuilder , amount : Amount < Currency > , to : AbstractParty , onlyFromParties : Set < AbstractParty > = emptySet()) : <ERROR CLASS> < TransactionBuilder , List < PublicKey > >
fun generateSpend ( services : ServiceHub , tx : TransactionBuilder , amount : Amount < Currency > , ourIdentity : PartyAndCertificate , to : AbstractParty , onlyFromParties : Set < AbstractParty > = emptySet(), anonymous : Boolean = true) : <ERROR CLASS> < TransactionBuilder , List < PublicKey > >
fun generateSpend ( services : ServiceHub , tx : TransactionBuilder , payments : List < PartyAndAmount < Currency > > , onlyFromParties : Set < AbstractParty > = emptySet()) : <ERROR CLASS> < TransactionBuilder , List < PublicKey > >
fun generateSpend ( services : ServiceHub , tx : TransactionBuilder , payments : List < PartyAndAmount < Currency > > , ourIdentity : PartyAndCertificate , onlyFromParties : Set < AbstractParty > = emptySet(), anonymous : Boolean = true) : <ERROR CLASS> < TransactionBuilder , List < PublicKey > >
object ObligationUtils
Module Contents
fun generateCashIssue ( tx : TransactionBuilder , obligor : AbstractParty , acceptableContract : SecureHash , amount : Amount < Issued < Currency > > , dueBefore : Instant , beneficiary : AbstractParty , notary : Party ) : Unit
fun < P : Any > generateCloseOutNetting ( tx : TransactionBuilder , signer : AbstractParty , vararg inputs : StateAndRef < State < P > > ) : Unit
fun < P : Any > generateExit ( tx : TransactionBuilder , amountIssued : Amount < Issued < Terms < P > > > , assetStates : List < StateAndRef < State < P > > > ) : Set < PublicKey >
fun < P : Any > generateIssue ( tx : TransactionBuilder , obligor : AbstractParty , issuanceDef : Terms < P > , pennies : Long , beneficiary : AbstractParty , notary : Party ) : Set < PublicKey >
fun < P : Any > generatePaymentNetting ( tx : TransactionBuilder , issued : Issued < Terms < P > > , notary : Party , vararg inputs : StateAndRef < State < P > > ) : Unit
fun < P : Any > generateSetLifecycle ( tx : TransactionBuilder , statesAndRefs : List < StateAndRef < State < P > > > , lifecycle : Lifecycle , notary : Party ) : Unit
fun < P : Any > generateSettle ( tx : TransactionBuilder , statesAndRefs : Iterable < StateAndRef < State < P > > > , assetStatesAndRefs : Iterable < StateAndRef < FungibleAsset < P > > > , moveCommand : MoveCommand , notary : Party ) : Unit
package net.corda.finance.workflows.asset.selection
Module Contents
abstract class AbstractCashSelection
Module Contents
AbstractCashSelection ( maxRetries : Int = 8, retrySleep : Int = 100, retryCap : Int = 2000)
protected abstract fun executeQuery ( connection : Connection , amount : Amount < Currency > , lockId : UUID , notary : Party ? , onlyFromIssuerParties : Set < AbstractParty > , withIssuerRefs : Set < OpaqueBytes > , withResultSet : ( ResultSet ) -> Boolean ) : Boolean
fun getInstance ( metadata : ( ) -> DatabaseMetaData ) : AbstractCashSelection
val instance : AtomicReference < AbstractCashSelection >
protected abstract fun isCompatible ( metadata : DatabaseMetaData ) : Boolean
abstract fun toString ( ) : String
fun unconsumedCashStatesForSpending ( services : ServiceHub , amount : Amount < Currency > , onlyFromIssuerParties : Set < AbstractParty > = emptySet(), notary : Party ? = null, lockId : UUID , withIssuerRefs : Set < OpaqueBytes > = emptySet()) : List < StateAndRef < State > >
class CashSelectionH2Impl : AbstractCashSelection
class CashSelectionPostgreSQLImpl : AbstractCashSelection
class CashSelectionSQLServerImpl : AbstractCashSelection
package net.corda.finance.workflows.utils
package net.corda.testing.driver
Module Contents
@DoNotImplement interface DriverDSL
Module Contents
abstract fun baseDirectory ( nodeName : CordaX500Name ) : Path
open val defaultNotaryHandle : NotaryHandle
open val defaultNotaryIdentity : Party
open val defaultNotaryNode : CordaFuture < NodeHandle >
open fun nextPort ( ) : Int
abstract val notaryHandles : List < NotaryHandle >
open fun startNode ( ) : CordaFuture < NodeHandle >
abstract fun startNode ( parameters : NodeParameters ) : CordaFuture < NodeHandle >
open fun startNode ( defaultParameters : NodeParameters = NodeParameters(), providedName : CordaX500Name ? = defaultParameters.providedName, rpcUsers : List < User > = defaultParameters.rpcUsers, verifierType : VerifierType = defaultParameters.verifierType, customOverrides : Map < String , Any ? > = defaultParameters.customOverrides, startInSameProcess : Boolean ? = defaultParameters.startInSameProcess, maximumHeapSize : String = defaultParameters.maximumHeapSize, logLevelOverride : String ? = defaultParameters.logLevelOverride) : CordaFuture < NodeHandle >
open fun startNode ( defaultParameters : NodeParameters = NodeParameters(), providedName : CordaX500Name ? = defaultParameters.providedName, rpcUsers : List < User > = defaultParameters.rpcUsers, verifierType : VerifierType = defaultParameters.verifierType, customOverrides : Map < String , Any ? > = defaultParameters.customOverrides, startInSameProcess : Boolean ? = defaultParameters.startInSameProcess, maximumHeapSize : String = defaultParameters.maximumHeapSize) : CordaFuture < NodeHandle >
open fun startWebserver ( handle : NodeHandle ) : CordaFuture < WebserverHandle >
abstract fun startWebserver ( handle : NodeHandle , maximumHeapSize : String ) : CordaFuture < WebserverHandle >
data class DriverParameters
Module Contents
DriverParameters ( cordappsForAllNodes : Collection < TestCordapp > )
DriverParameters ( isDebug : Boolean = false, driverDirectory : Path = Paths.get("build") / "node-driver" / getTimestampAsDirectoryName(), portAllocation : PortAllocation = incrementalPortAllocation(), debugPortAllocation : PortAllocation = incrementalPortAllocation(), systemProperties : Map < String , String > = emptyMap(), useTestClock : Boolean = false, startNodesInProcess : Boolean = false, waitForAllNodesToFinish : Boolean = false, notarySpecs : List < NotarySpec > = listOf(NotarySpec(DUMMY_NOTARY_NAME)), : List < String > = emptyList(), jmxPolicy : JmxPolicy = JmxPolicy(), networkParameters : NetworkParameters = testNetworkParameters(notaries = emptyList()), notaryCustomOverrides : Map < String , Any ? > = emptyMap(), inMemoryDB : Boolean = true, cordappsForAllNodes : Collection < TestCordapp > ? = null)
DriverParameters ( isDebug : Boolean = false, driverDirectory : Path = Paths.get("build") / "node-driver" / getTimestampAsDirectoryName(), portAllocation : PortAllocation = incrementalPortAllocation(), debugPortAllocation : PortAllocation = incrementalPortAllocation(), systemProperties : Map < String , String > = emptyMap(), useTestClock : Boolean = false, startNodesInProcess : Boolean = false, waitForAllNodesToFinish : Boolean = false, notarySpecs : List < NotarySpec > = listOf(NotarySpec(DUMMY_NOTARY_NAME)), : List < String > = emptyList(), jmxPolicy : JmxPolicy = JmxPolicy(), networkParameters : NetworkParameters = testNetworkParameters(notaries = emptyList()), notaryCustomOverrides : Map < String , Any ? > = emptyMap(), inMemoryDB : Boolean = true)
DriverParameters ( isDebug : Boolean , driverDirectory : Path , portAllocation : PortAllocation , debugPortAllocation : PortAllocation , systemProperties : Map < String , String > , useTestClock : Boolean , startNodesInProcess : Boolean , waitForAllNodesToFinish : Boolean , notarySpecs : List < NotarySpec > , : List < String > , jmxPolicy : JmxPolicy , networkParameters : NetworkParameters )
DriverParameters ( isDebug : Boolean = false, driverDirectory : Path = Paths.get("build") / "node-driver" / getTimestampAsDirectoryName(), portAllocation : PortAllocation = incrementalPortAllocation(), debugPortAllocation : PortAllocation = incrementalPortAllocation(), systemProperties : Map < String , String > = emptyMap(), useTestClock : Boolean = false, startNodesInProcess : Boolean = false, waitForAllNodesToFinish : Boolean = false, notarySpecs : List < NotarySpec > = listOf(NotarySpec(DUMMY_NOTARY_NAME)), : List < String > = emptyList(), jmxPolicy : JmxPolicy = JmxPolicy(), networkParameters : NetworkParameters = testNetworkParameters(notaries = emptyList()), notaryCustomOverrides : Map < String , Any ? > = emptyMap(), inMemoryDB : Boolean = false, cordappsForAllNodes : Collection < TestCordapp > ? = null, djvmBootstrapSource : Path ? = null, djvmCordaSource : List < Path > = emptyList(), environmentVariables : Map < String , String > = emptyMap(), allowHibernateToManageAppSchema : Boolean = true)
DriverParameters ( isDebug : Boolean , driverDirectory : Path , portAllocation : PortAllocation , debugPortAllocation : PortAllocation , systemProperties : Map < String , String > , useTestClock : Boolean , startNodesInProcess : Boolean , waitForAllNodesToFinish : Boolean , notarySpecs : List < NotarySpec > , : List < String > , jmxPolicy : JmxPolicy , networkParameters : NetworkParameters , inMemoryDB : Boolean )
DriverParameters ( isDebug : Boolean = false, driverDirectory : Path = Paths.get("build") / "node-driver" / getTimestampAsDirectoryName(), portAllocation : PortAllocation = incrementalPortAllocation(), debugPortAllocation : PortAllocation = incrementalPortAllocation(), systemProperties : Map < String , String > = emptyMap(), useTestClock : Boolean = false, startNodesInProcess : Boolean = false, waitForAllNodesToFinish : Boolean = false, notarySpecs : List < NotarySpec > = listOf(NotarySpec(DUMMY_NOTARY_NAME)), : List < String > = emptyList(), jmxPolicy : JmxPolicy = JmxPolicy(), networkParameters : NetworkParameters = testNetworkParameters(notaries = emptyList()), notaryCustomOverrides : Map < String , Any ? > = emptyMap(), inMemoryDB : Boolean = false, cordappsForAllNodes : Collection < TestCordapp > ? = null, djvmBootstrapSource : Path ? = null, djvmCordaSource : List < Path > = emptyList(), environmentVariables : Map < String , String > = emptyMap(), allowHibernateToManageAppSchema : Boolean = true, premigrateH2Database : Boolean = true)
val allowHibernateToManageAppSchema : Boolean
fun copy ( isDebug : Boolean , driverDirectory : Path , portAllocation : PortAllocation , debugPortAllocation : PortAllocation , systemProperties : Map < String , String > , useTestClock : Boolean , startNodesInProcess : Boolean , waitForAllNodesToFinish : Boolean , notarySpecs : List < NotarySpec > , : List < String > , jmxPolicy : JmxPolicy , networkParameters : NetworkParameters ) : DriverParameters
fun copy ( isDebug : Boolean , driverDirectory : Path , portAllocation : PortAllocation , debugPortAllocation : PortAllocation , systemProperties : Map < String , String > , useTestClock : Boolean , startNodesInProcess : Boolean , waitForAllNodesToFinish : Boolean , notarySpecs : List < NotarySpec > , : List < String > , jmxPolicy : JmxPolicy , networkParameters : NetworkParameters , cordappsForAllNodes : Set < TestCordapp > ? ) : DriverParameters
fun copy ( isDebug : Boolean , driverDirectory : Path , portAllocation : PortAllocation , debugPortAllocation : PortAllocation , systemProperties : Map < String , String > , useTestClock : Boolean , startNodesInProcess : Boolean , waitForAllNodesToFinish : Boolean , notarySpecs : List < NotarySpec > , : List < String > , jmxPolicy : JmxPolicy , networkParameters : NetworkParameters , notaryCustomOverrides : Map < String , Any ? > , inMemoryDB : Boolean , cordappsForAllNodes : Collection < TestCordapp > ? ) : DriverParameters
fun copy ( isDebug : Boolean , driverDirectory : Path , portAllocation : PortAllocation , debugPortAllocation : PortAllocation , systemProperties : Map < String , String > , useTestClock : Boolean , startNodesInProcess : Boolean , waitForAllNodesToFinish : Boolean , notarySpecs : List < NotarySpec > , : List < String > , jmxPolicy : JmxPolicy , networkParameters : NetworkParameters , notaryCustomOverrides : Map < String , Any ? > , inMemoryDB : Boolean , cordappsForAllNodes : Collection < TestCordapp > ? , djvmBootstrapSource : Path ? , djvmCordaSource : List < Path > , environmentVariables : Map < String , String > , allowHibernateToManageAppSchema : Boolean ) : DriverParameters
val cordappsForAllNodes : Collection < TestCordapp > ?
val debugPortAllocation : PortAllocation
val djvmBootstrapSource : Path ?
val djvmCordaSource : List < Path >
val driverDirectory : Path
val environmentVariables : Map < String , String >
val extraCordappPackagesToScan : List < String >
val inMemoryDB : Boolean
val isDebug : Boolean
val jmxPolicy : JmxPolicy
val networkParameters : NetworkParameters
val notaryCustomOverrides : Map < String , Any ? >
val notarySpecs : List < NotarySpec >
val portAllocation : PortAllocation
val premigrateH2Database : Boolean
val startNodesInProcess : Boolean
val systemProperties : Map < String , String >
val useTestClock : Boolean
val waitForAllNodesToFinish : Boolean
fun withAllowHibernateToManageAppSchema ( value : Boolean ) : DriverParameters
fun withCordappsForAllNodes ( cordappsForAllNodes : Collection < TestCordapp > ? ) : DriverParameters
fun withDebugPortAllocation ( debugPortAllocation : PortAllocation ) : DriverParameters
fun withDjvmBootstrapSource ( djvmBootstrapSource : Path ? ) : DriverParameters
fun withDjvmCordaSource ( djvmCordaSource : List < Path > ) : DriverParameters
fun withDriverDirectory ( driverDirectory : Path ) : DriverParameters
fun withEnvironmentVariables ( variables : Map < String , String > ) : DriverParameters
fun withExtraCordappPackagesToScan ( : List < String > ) : DriverParameters
fun withInMemoryDB ( inMemoryDB : Boolean ) : DriverParameters
fun withIsDebug ( isDebug : Boolean ) : DriverParameters
fun withJmxPolicy ( jmxPolicy : JmxPolicy ) : DriverParameters
fun withNetworkParameters ( networkParameters : NetworkParameters ) : DriverParameters
fun withNotaryCustomOverrides ( notaryCustomOverrides : Map < String , Any ? > ) : DriverParameters
fun withNotarySpecs ( notarySpecs : List < NotarySpec > ) : DriverParameters
fun withPortAllocation ( portAllocation : PortAllocation ) : DriverParameters
fun withStartNodesInProcess ( startNodesInProcess : Boolean ) : DriverParameters
fun withSystemProperties ( systemProperties : Map < String , String > ) : DriverParameters
fun withUseTestClock ( useTestClock : Boolean ) : DriverParameters
fun withWaitForAllNodesToFinish ( waitForAllNodesToFinish : Boolean ) : DriverParameters
@DoNotImplement interface InProcess : NodeHandle
data class JmxPolicy
@DoNotImplement interface NodeHandle : AutoCloseable
data class NodeParameters
Module Contents
NodeParameters ( )
NodeParameters ( providedName : CordaX500Name ? , rpcUsers : List < User > , verifierType : VerifierType , customOverrides : Map < String , Any ? > , startInSameProcess : Boolean ? , maximumHeapSize : String )
NodeParameters ( providedName : CordaX500Name ? , rpcUsers : List < User > , verifierType : VerifierType , customOverrides : Map < String , Any ? > , startInSameProcess : Boolean ? , maximumHeapSize : String , additionalCordapps : Collection < TestCordapp > = emptySet(), flowOverrides : Map < out Class < out FlowLogic < * > > , Class < out FlowLogic < * > > > )
NodeParameters ( providedName : CordaX500Name ? = null, rpcUsers : List < User > = emptyList(), verifierType : VerifierType = VerifierType.InMemory, customOverrides : Map < String , Any ? > = emptyMap(), startInSameProcess : Boolean ? = null, maximumHeapSize : String = System.getenv("DRIVER_NODE_MEMORY") ?: "512m", additionalCordapps : Collection < TestCordapp > = emptySet(), flowOverrides : Map < out Class < out FlowLogic < * > > , Class < out FlowLogic < * > > > = emptyMap(), logLevelOverride : String ? = null, rpcAddress : NetworkHostAndPort ? = null)
val additionalCordapps : Collection < TestCordapp >
fun copy ( providedName : CordaX500Name ? , rpcUsers : List < User > , verifierType : VerifierType , customOverrides : Map < String , Any ? > , startInSameProcess : Boolean ? , maximumHeapSize : String ) : NodeParameters
fun copy ( providedName : CordaX500Name ? , rpcUsers : List < User > , verifierType : VerifierType , customOverrides : Map < String , Any ? > , startInSameProcess : Boolean ? , maximumHeapSize : String , additionalCordapps : Collection < TestCordapp > = emptySet(), flowOverrides : Map < out Class < out FlowLogic < * > > , Class < out FlowLogic < * > > > ) : NodeParameters
val customOverrides : Map < String , Any ? >
val flowOverrides : Map < out Class < out FlowLogic < * > > , Class < out FlowLogic < * > > >
val logLevelOverride : String ?
val maximumHeapSize : String
val providedName : CordaX500Name ?
val rpcAddress : NetworkHostAndPort ?
val rpcUsers : List < User >
val startInSameProcess : Boolean ?
val verifierType : VerifierType
fun withAdditionalCordapps ( additionalCordapps : Set < TestCordapp > ) : NodeParameters
fun withCustomOverrides ( customOverrides : Map < String , Any ? > ) : NodeParameters
fun withFlowOverrides ( flowOverrides : Map < Class < out FlowLogic < * > > , Class < out FlowLogic < * > > > ) : NodeParameters
fun withLogLevelOverride ( logLevelOverride : String ? ) : NodeParameters
fun withMaximumHeapSize ( maximumHeapSize : String ) : NodeParameters
fun withProvidedName ( providedName : CordaX500Name ? ) : NodeParameters
fun withRpcUsers ( rpcUsers : List < User > ) : NodeParameters
fun withStartInSameProcess ( startInSameProcess : Boolean ? ) : NodeParameters
fun withVerifierType ( verifierType : VerifierType ) : NodeParameters
data class NotaryHandle
@DoNotImplement interface OutOfProcess : NodeHandle
@DoNotImplement abstract class PortAllocation
enum class VerifierType
data class WebserverHandle
fun < A > driver ( defaultParameters : DriverParameters = DriverParameters(), dsl : DriverDSL . ( ) -> A ) : A
fun NodeHandle . logFile ( ) : File
package net.corda.testing.dsl
Module Contents
class AttachmentResolutionException : FlowException
class DoubleSpentInputs : FlowException
class DuplicateOutputLabel : FlowException
@DoNotImplement sealed class EnforceVerifyOrFail
class LedgerDSL < out T : TransactionDSLInterpreter , out L : LedgerDSLInterpreter < T > > : LedgerDSLInterpreter < TransactionDSLInterpreter >
@DoNotImplement interface LedgerDSLInterpreter < out T : TransactionDSLInterpreter > : Verifies , OutputStateLookup
@DoNotImplement interface OutputStateLookup
data class TestLedgerDSLInterpreter : LedgerDSLInterpreter < TestTransactionDSLInterpreter >
data class TestTransactionDSLInterpreter : TransactionDSLInterpreter , OutputStateLookup
Module Contents
TestTransactionDSLInterpreter ( ledgerInterpreter : TestLedgerDSLInterpreter , transactionBuilder : TransactionBuilder )
fun _attachment ( contractClassName : ContractClassName ) : Unit
fun _attachment ( contractClassName : ContractClassName , attachmentId : AttachmentId , signers : List < PublicKey > ) : Unit
fun _attachment ( contractClassName : ContractClassName , attachmentId : AttachmentId , signers : List < PublicKey > , jarManifestAttributes : Map < String , String > ) : Unit
fun _tweak ( dsl : TransactionDSLInterpreter . ( ) -> EnforceVerifyOrFail ) : EnforceVerifyOrFail
fun attachment ( attachmentId : SecureHash ) : Unit
fun command ( signers : List < PublicKey > , commandData : CommandData ) : Unit
fun input ( stateRef : StateRef ) : Unit
val ledgerInterpreter : TestLedgerDSLInterpreter
fun output ( contractClassName : ContractClassName , label : String ? , notary : Party , encumbrance : Int ? , attachmentConstraint : AttachmentConstraint , contractState : ContractState ) : Unit
fun reference ( stateRef : StateRef ) : Unit
val services : ServicesForResolution
fun timeWindow ( data : TimeWindow ) : Unit
val transactionBuilder : TransactionBuilder
fun verifies ( ) : EnforceVerifyOrFail
class TransactionDSL < out T : TransactionDSLInterpreter > : TransactionDSLInterpreter
Module Contents
TransactionDSL ( interpreter : T , notary : Party )
fun attachment ( contractClassName : ContractClassName ) : Unit
fun attachment ( contractClassName : ContractClassName , attachmentId : AttachmentId , signers : List < PublicKey > , jarManifestAttributes : Map < String , String > = emptyMap()) : Unit
fun attachment ( contractClassName : ContractClassName , attachmentId : AttachmentId ) : Unit
fun attachments ( vararg contractClassNames : ContractClassName ) : <ERROR CLASS>
fun command ( signer : PublicKey , commandData : CommandData ) : <ERROR CLASS>
fun input ( stateLabel : String ) : <ERROR CLASS>
fun input ( contractClassName : ContractClassName , stateLabel : String ) : Unit
fun input ( contractClassName : ContractClassName , state : ContractState ) : Unit
fun output ( contractClassName : ContractClassName , label : String , notary : Party , contractState : ContractState ) : Unit
fun output ( contractClassName : ContractClassName , label : String , encumbrance : Int , contractState : ContractState ) : Unit
fun output ( contractClassName : ContractClassName , label : String , contractState : ContractState ) : Unit
fun output ( contractClassName : ContractClassName , notary : Party , contractState : ContractState ) : Unit
fun output ( contractClassName : ContractClassName , encumbrance : Int , contractState : ContractState ) : Unit
fun output ( contractClassName : ContractClassName , contractState : ContractState ) : Unit
fun reference ( stateLabel : String ) : <ERROR CLASS>
fun reference ( contractClassName : ContractClassName , state : ContractState ) : Unit
fun timeWindow ( time : Instant , tolerance : Duration = 30.seconds) : Unit
fun tweak ( dsl : TransactionDSL < TransactionDSLInterpreter > . ( ) -> EnforceVerifyOrFail ) : EnforceVerifyOrFail
@DoNotImplement interface TransactionDSLInterpreter : Verifies , OutputStateLookup
Module Contents
abstract fun _attachment ( contractClassName : ContractClassName ) : Unit
abstract fun _attachment ( contractClassName : ContractClassName , attachmentId : AttachmentId , signers : List < PublicKey > ) : Unit
abstract fun _attachment ( contractClassName : ContractClassName , attachmentId : AttachmentId , signers : List < PublicKey > , jarManifestAttributes : Map < String , String > ) : Unit
abstract fun _tweak ( dsl : TransactionDSLInterpreter . ( ) -> EnforceVerifyOrFail ) : EnforceVerifyOrFail
abstract fun attachment ( attachmentId : SecureHash ) : Unit
abstract fun command ( signers : List < PublicKey > , commandData : CommandData ) : Unit
abstract fun input ( stateRef : StateRef ) : Unit
abstract val ledgerInterpreter : LedgerDSLInterpreter < TransactionDSLInterpreter >
abstract fun output ( contractClassName : ContractClassName , label : String ? , notary : Party , encumbrance : Int ? , attachmentConstraint : AttachmentConstraint , contractState : ContractState ) : Unit
abstract fun reference ( stateRef : StateRef ) : Unit
abstract fun timeWindow ( data : TimeWindow ) : Unit
@DoNotImplement interface Verifies
package net.corda.testing.flows
Module Contents
infix fun < T : Class < out Any > > T . from ( session : FlowSession ) : <ERROR CLASS> < FlowSession , T >
kotlin.collections.Map
kotlin.reflect.KClass
fun FlowLogic < * > . receiveAll ( session : <ERROR CLASS> < FlowSession , Class < out Any > > , vararg sessions : <ERROR CLASS> < FlowSession , Class < out Any > > ) : Map < FlowSession , UntrustworthyData < Any > >
fun < R : Any > FlowLogic < * > . receiveAll ( receiveType : Class < R > , session : FlowSession , vararg sessions : FlowSession ) : List < UntrustworthyData < R > >
inline fun < reified R : Any > FlowLogic < * > . receiveAll ( session : FlowSession , vararg sessions : FlowSession ) : List < UntrustworthyData < R > >
inline fun < reified P : FlowLogic < * > > TestStartedNode . registerCordappFlowFactory ( initiatingFlowClass : KClass < out FlowLogic < * > > , initiatedFlowVersion : Int = 1, noinline flowFactory : ( FlowSession ) -> P ) : CordaFuture < P >
fun < T : FlowLogic < * > > TestStartedNode . registerCoreFlowFactory ( initiatingFlowClass : Class < out FlowLogic < * > > , initiatedFlowClass : Class < T > , flowFactory : ( FlowSession ) -> T , track : Boolean ) : <ERROR CLASS> < T >
package net.corda.testing.http
package net.corda.testing.node
Module Contents
@DoNotImplement abstract class ClusterSpec
object DatabaseSnapshot
class InMemoryMessagingNetwork : SingletonSerializeAsToken
class MockNetFlowTimeOut
class MockNetNotaryConfig
open class MockNetwork
Module Contents
MockNetwork ( cordappPackages : List < String > , parameters : MockNetworkParameters = MockNetworkParameters())
MockNetwork ( parameters : MockNetworkParameters )
MockNetwork ( cordappPackages : List < String > , defaultParameters : MockNetworkParameters = MockNetworkParameters(), networkSendManuallyPumped : Boolean = defaultParameters.networkSendManuallyPumped, threadPerNode : Boolean = defaultParameters.threadPerNode, servicePeerAllocationStrategy : ServicePeerAllocationStrategy = defaultParameters.servicePeerAllocationStrategy, notarySpecs : List < MockNetworkNotarySpec > = defaultParameters.notarySpecs, networkParameters : NetworkParameters = defaultParameters.networkParameters)
fun baseDirectory ( nodeId : Int ) : Path
val cordappPackages : List < String >
fun createNode ( parameters : MockNodeParameters ) : StartedMockNode
fun createNode ( legalName : CordaX500Name ? = null, forcedID : Int ? = null, entropyRoot : BigInteger = BigInteger.valueOf(random63BitValue()), configOverrides : MockNodeConfigOverrides ? = null) : StartedMockNode
fun createPartyNode ( legalName : CordaX500Name ? = null) : StartedMockNode
fun createUnstartedNode ( parameters : MockNodeParameters = MockNodeParameters()) : UnstartedMockNode
fun createUnstartedNode ( legalName : CordaX500Name ? = null, forcedID : Int ? = null, entropyRoot : BigInteger = BigInteger.valueOf(random63BitValue()), configOverrides : MockNodeConfigOverrides ? = null) : UnstartedMockNode
val defaultNotaryIdentity : Party
val defaultNotaryNode : StartedMockNode
val defaultParameters : MockNetworkParameters
val networkParameters : NetworkParameters
val networkSendManuallyPumped : Boolean
val nextNodeId : Int
val notaryNodes : List < StartedMockNode >
val notarySpecs : List < MockNetworkNotarySpec >
fun runNetwork ( rounds : Int = -1) : Unit
val servicePeerAllocationStrategy : ServicePeerAllocationStrategy
fun startNodes ( ) : Unit
fun stopNodes ( ) : Unit
val threadPerNode : Boolean
fun waitQuiescent ( ) : Unit
data class MockNetworkNotarySpec
data class MockNetworkParameters
Module Contents
MockNetworkParameters ( networkSendManuallyPumped : Boolean , threadPerNode : Boolean , servicePeerAllocationStrategy : ServicePeerAllocationStrategy , notarySpecs : List < MockNetworkNotarySpec > , networkParameters : NetworkParameters )
MockNetworkParameters ( cordappsForAllNodes : Collection < TestCordapp > )
MockNetworkParameters ( networkSendManuallyPumped : Boolean = false, threadPerNode : Boolean = false, servicePeerAllocationStrategy : ServicePeerAllocationStrategy = InMemoryMessagingNetwork.ServicePeerAllocationStrategy.Random(), notarySpecs : List < MockNetworkNotarySpec > = listOf(MockNetworkNotarySpec(DUMMY_NOTARY_NAME)), networkParameters : NetworkParameters = testNetworkParameters(), cordappsForAllNodes : Collection < TestCordapp > = emptyList())
fun copy ( networkSendManuallyPumped : Boolean , threadPerNode : Boolean , servicePeerAllocationStrategy : ServicePeerAllocationStrategy , notarySpecs : List < MockNetworkNotarySpec > , networkParameters : NetworkParameters ) : MockNetworkParameters
val cordappsForAllNodes : Collection < TestCordapp >
val networkParameters : NetworkParameters
val networkSendManuallyPumped : Boolean
val notarySpecs : List < MockNetworkNotarySpec >
val servicePeerAllocationStrategy : ServicePeerAllocationStrategy
val threadPerNode : Boolean
fun withCordappsForAllNodes ( cordappsForAllNodes : Collection < TestCordapp > ) : MockNetworkParameters
fun withNetworkParameters ( networkParameters : NetworkParameters ) : MockNetworkParameters
fun withNetworkSendManuallyPumped ( networkSendManuallyPumped : Boolean ) : MockNetworkParameters
fun withNotarySpecs ( notarySpecs : List < MockNetworkNotarySpec > ) : MockNetworkParameters
fun withServicePeerAllocationStrategy ( servicePeerAllocationStrategy : ServicePeerAllocationStrategy ) : MockNetworkParameters
fun withThreadPerNode ( threadPerNode : Boolean ) : MockNetworkParameters
class MockNodeConfigOverrides
data class MockNodeParameters
Module Contents
MockNodeParameters ( forcedID : Int ? = null, legalName : CordaX500Name ? = null, entropyRoot : BigInteger = BigInteger.valueOf(random63BitValue()), configOverrides : MockNodeConfigOverrides )
MockNodeParameters ( forcedID : Int ? = null, legalName : CordaX500Name ? = null, entropyRoot : BigInteger = BigInteger.valueOf(random63BitValue()), configOverrides : MockNodeConfigOverrides ? = null, additionalCordapps : Collection < TestCordapp > = emptyList())
val additionalCordapps : Collection < TestCordapp >
val configOverrides : MockNodeConfigOverrides ?
fun copy ( forcedID : Int ? , legalName : CordaX500Name ? , entropyRoot : BigInteger , configOverrides : MockNodeConfigOverrides ) : MockNodeParameters
val entropyRoot : BigInteger
val forcedID : Int ?
val legalName : CordaX500Name ?
fun withAdditionalCordapps ( additionalCordapps : Collection < TestCordapp > ) : MockNodeParameters
fun withConfigOverrides ( configOverrides : MockNodeConfigOverrides ) : MockNodeParameters
fun withEntropyRoot ( entropyRoot : BigInteger ) : MockNodeParameters
fun withForcedID ( forcedID : Int ? ) : MockNodeParameters
fun withLegalName ( legalName : CordaX500Name ? ) : MockNodeParameters
open class MockServices : ServiceHub
Module Contents
MockServices ( cordappPackages : Iterable < String > , initialIdentity : <ERROR CLASS> , identityService : IdentityService = makeTestIdentityService(), vararg moreKeys : KeyPair )
MockServices ( cordappPackages : Iterable < String > , initialIdentity : <ERROR CLASS> , identityService : IdentityService , networkParameters : NetworkParameters , vararg moreKeys : KeyPair )
MockServices ( cordappPackages : Iterable < String > , initialIdentity : <ERROR CLASS> , identityService : IdentityService , networkParameters : NetworkParameters , vararg moreKeys : KeyPair , keyManagementService : KeyManagementService )
MockServices ( cordappPackages : Iterable < String > , initialIdentityName : CordaX500Name , identityService : IdentityService = makeTestIdentityService(), key : KeyPair , vararg moreKeys : KeyPair )
MockServices ( cordappPackages : Iterable < String > , initialIdentityName : CordaX500Name , identityService : IdentityService = makeTestIdentityService())
MockServices ( cordappPackages : Iterable < String > )
MockServices ( initialIdentityName : CordaX500Name , identityService : IdentityService = makeTestIdentityService(), key : KeyPair , vararg moreKeys : KeyPair )
MockServices ( initialIdentityName : CordaX500Name , identityService : IdentityService = makeTestIdentityService())
MockServices ( cordappPackages : List < String > , initialIdentityName : CordaX500Name , identityService : IdentityService , networkParameters : NetworkParameters )
MockServices ( cordappPackages : List < String > , initialIdentityName : CordaX500Name , identityService : IdentityService , networkParameters : NetworkParameters , key : KeyPair )
MockServices ( firstIdentity : <ERROR CLASS> , vararg moreIdentities : <ERROR CLASS> )
MockServices ( firstIdentity : <ERROR CLASS> , networkParameters : NetworkParameters , vararg moreIdentities : <ERROR CLASS> )
MockServices ( cordappPackages : List < String > , firstIdentity : <ERROR CLASS> , vararg moreIdentities : <ERROR CLASS> )
MockServices ( cordappPackages : List < String > , firstIdentity : <ERROR CLASS> , networkParameters : NetworkParameters , vararg moreIdentities : <ERROR CLASS> )
MockServices ( )
fun addMockCordapp ( contractClassName : ContractClassName ) : Unit
val attachments : MockAttachmentStorage
open val clock : TestClock
open val contractUpgradeService : ContractUpgradeService
open fun < T : SerializeAsToken > cordaService ( type : Class < T > ) : T
val cordappClassloader : ClassLoader
open val cordappProvider : CordappProvider
open val diagnosticsService : DiagnosticsService
open val identityService : IdentityService
open fun jdbcSession ( ) : Connection
open val keyManagementService : KeyManagementService
open fun loadContractAttachment ( stateRef : StateRef ) : <ERROR CLASS>
open fun loadState ( stateRef : StateRef ) : TransactionState < * >
open fun loadStates ( stateRefs : Set < StateRef > ) : Set < StateAndRef < ContractState > >
fun makeTestDataSourceProperties ( nodeName : String = SecureHash.randomSHA256().toString()) : Properties
fun makeTestDatabaseAndMockServices ( cordappPackages : List < String > , identityService : IdentityService , initialIdentity : <ERROR CLASS> , networkParameters : NetworkParameters = testNetworkParameters(modifiedTime = Instant.MIN), vararg moreKeys : KeyPair ) : <ERROR CLASS> < <ERROR CLASS> , MockServices >
fun makeTestDatabaseAndPersistentServices ( cordappPackages : List < String > , initialIdentity : <ERROR CLASS> , networkParameters : NetworkParameters = testNetworkParameters(modifiedTime = Instant.MIN), moreKeys : Set < KeyPair > , moreIdentities : Set < PartyAndCertificate > , cacheFactory : TestingNamedCacheFactory = TestingNamedCacheFactory()) : <ERROR CLASS> < <ERROR CLASS> , MockServices >
open val myInfo : NodeInfo
open val networkMapCache : NetworkMapCache
open val networkParameters : NetworkParameters
open var networkParametersService : NetworkParametersService
open fun recordTransactions ( statesToRecord : StatesToRecord , txs : Iterable < SignedTransaction > ) : Unit
open fun registerUnloadHandler ( runOnStop : ( ) -> Unit ) : Nothing
protected val servicesForResolution : ServicesForResolution
open val validatedTransactions : TransactionStorage
open val vaultService : VaultService
open fun < T > withEntityManager ( block : <ERROR CLASS> . ( ) -> T ) : T
open fun withEntityManager ( block : Consumer < <ERROR CLASS> > ) : Unit
data class NotarySpec
Module Contents
NotarySpec ( name : CordaX500Name , validating : Boolean = true, rpcUsers : List < User > = emptyList(), verifierType : VerifierType = VerifierType.InMemory, cluster : ClusterSpec ? = null)
NotarySpec ( name : CordaX500Name , validating : Boolean = true, rpcUsers : List < User > = emptyList(), verifierType : VerifierType = VerifierType.InMemory, cluster : ClusterSpec ? = null, maximumHeapSize : String )
NotarySpec ( name : CordaX500Name , validating : Boolean = true, rpcUsers : List < User > = emptyList(), verifierType : VerifierType = VerifierType.InMemory, cluster : ClusterSpec ? = null, maximumHeapSize : String = "512m", startInProcess : Boolean = true)
NotarySpec ( name : CordaX500Name , validating : Boolean = true, rpcUsers : List < User > = emptyList(), verifierType : VerifierType = VerifierType.InMemory, cluster : ClusterSpec ? = null, startInProcess : Boolean = true)
val cluster : ClusterSpec ?
fun copy ( name : CordaX500Name , validating : Boolean = true, rpcUsers : List < User > = emptyList(), verifierType : VerifierType = VerifierType.InMemory, cluster : ClusterSpec ? = null) : NotarySpec
var maximumHeapSize : String
val name : CordaX500Name
val rpcUsers : List < User >
val startInProcess : Boolean
val validating : Boolean
val verifierType : VerifierType
class StartedMockNode
class TestClock
@DoNotImplement abstract class TestCordapp
class UnstartedMockNode
data class User
fun < T : SerializeAsToken > createMockCordaService ( serviceHub : MockServices , serviceConstructor : ( AppServiceHub ) -> T ) : T
fun ServiceHub . ledger ( notary : Party = TestIdentity.fresh("ledger notary").party, script : LedgerDSL < TestTransactionDSLInterpreter , TestLedgerDSLInterpreter > . ( ) -> Unit ) : LedgerDSL < TestTransactionDSLInterpreter , TestLedgerDSLInterpreter >
fun makeTestIdentityService ( vararg identities : PartyAndCertificate ) : IdentityService
fun testActor ( owningLegalIdentity : CordaX500Name = CordaX500Name("Test Company Inc.", "London", "GB")) : Actor
fun testContext ( owningLegalIdentity : CordaX500Name = CordaX500Name("Test Company Inc.", "London", "GB")) : InvocationContext
fun ServiceHub . transaction ( notary : Party = TestIdentity.fresh("transaction notary").party, script : TransactionDSL < TransactionDSLInterpreter > . ( ) -> EnforceVerifyOrFail ) : LedgerDSL < TestTransactionDSLInterpreter , TestLedgerDSLInterpreter >
package net.corda.testing.services
Module Contents
class MockAttachmentStorage : AttachmentStorage , SingletonSerializeAsToken
Module Contents
MockAttachmentStorage ( )
val files : Map < SecureHash , <ERROR CLASS> < Attachment , ByteArray > >
fun getAttachmentIdAndBytes ( jar : InputStream ) : <ERROR CLASS> < AttachmentId , ByteArray >
fun getLatestContractAttachments ( contractClassName : String , minContractVersion : Int ) : List < AttachmentId >
fun hasAttachment ( attachmentId : AttachmentId ) : Boolean
fun importAttachment ( jar : InputStream ) : AttachmentId
fun importAttachment ( jar : InputStream , uploader : String , filename : String ? ) : AttachmentId
fun importContractAttachment ( contractClassNames : List < ContractClassName > , uploader : String , jar : InputStream , attachmentId : AttachmentId ? = null, signers : List < PublicKey > = emptyList()) : AttachmentId
fun importContractAttachment ( attachmentId : AttachmentId , contractAttachment : ContractAttachment ) : Unit
fun importOrGetAttachment ( jar : InputStream ) : AttachmentId
fun openAttachment ( id : SecureHash ) : Attachment ?
fun queryAttachments ( criteria : AttachmentQueryCriteria , sorting : AttachmentSort ? ) : List < AttachmentId >